Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add some tests for interestingness scripts.#50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Changes from1 commit
Commits
Show all changes
12 commits
Select commitHold shift + click to select a range
179ac31
Add some tests for interestingness scripts.
jschwartzentruberAug 28, 2017
82200e6
Move _compile() into the InterestingnessTests class.
jschwartzentruberAug 28, 2017
49fcfec
Check that the --timeout argument works on crashes & outputs tests.
jschwartzentruberAug 28, 2017
30046ab
Switch from using `dir`/`ls` to a python script,
jschwartzentruberAug 29, 2017
be1d92a
Disable Windows Error Reporting for the `crashes` test.
jschwartzentruberAug 29, 2017
3813f3f
os.listdir has no default on python2
jschwartzentruberAug 29, 2017
bc8561b
Since we process files in binary mode, the carriage return is included
jschwartzentruberAug 29, 2017
49c15b0
Missed raw string prefix.
jschwartzentruberAug 29, 2017
b216ec3
Show compiler output in debug log on success too.
jschwartzentruberAug 29, 2017
c70abe4
crashes interestingness: print the run status for uninteresting case …
jschwartzentruberAug 29, 2017
dfb218c
Fix a bug where crashes are not detected in windows python3.
jschwartzentruberAug 29, 2017
e4d7dca
Add comments and changes requested by @nth10sd in #50
jschwartzentruberAug 29, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
os.listdir has no default on python2
  • Loading branch information
@jschwartzentruber
jschwartzentruber committedAug 29, 2017
commit3813f3fd6482eef76d50f94009a4c74d0d5fde3e
2 changes: 1 addition & 1 deletiontests/test_lithium.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -290,7 +290,7 @@ class InterestingnessTests(TestCase):
" for p in"
" (itertools.chain.from_iterable(glob.glob(d) for d in sys.argv[1:])"
" if len(sys.argv) > 1"
" else os.listdir())"
" else os.listdir('.'))"
"]")]
sleep_cmd = [sys.executable, "-c", "import time;time.sleep(3)"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Can we make sleep_cmd accept a variable timeout number, other than 3? I'm not really insistent on this though.

if platform.system() == "Windows":
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp