aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-02 23:29:02 -0700
committeralon@honor <none@none>2010-10-02 23:29:02 -0700
commit2f64c269303d4731f511e8b77e1ec8fb5f906763 (patch)
treec30b4a075239b6739efc41e3a76abada6ab93e8c /tests/runner.py
parent981b5832f5c0ae8a732e5e89f313c88efdadd0e3 (diff)
add missing branch detection of default in switch. all reloop but sauer, dlmalloc/clang
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index c43125c3..dc3dfba0 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -69,7 +69,8 @@ class T(unittest.TestCase):
if DEBUG: print output
# Run Emscripten
emscripten_settings = ['{ "QUANTUM_SIZE": %d, "RELOOP": %d }' % (QUANTUM_SIZE, RELOOP)]
- timeout_run(Popen([EMSCRIPTEN, filename + '.o.llvm', PARSER_ENGINE] + emscripten_settings, stdout=open(filename + '.o.js', 'w'), stderr=STDOUT), 2400, 'Compiling')
+ out = open(filename + '.o.js', 'w') if not OUTPUT_TO_SCREEN else None
+ timeout_run(Popen([EMSCRIPTEN, filename + '.o.llvm', PARSER_ENGINE] + emscripten_settings, stdout=out, stderr=STDOUT), 240, 'Compiling')
output = open(filename + '.o.js').read()
if output_processor is not None:
output_processor(output)
@@ -825,7 +826,6 @@ class T(unittest.TestCase):
# used, see Mozilla bug 593659.
assert PARSER_ENGINE != SPIDERMONKEY_ENGINE
- # FIXME - hangs the compiler after an assert
assert not RELOOP
self.do_test(path_from_root(['tests', 'sauer']), '*\nTemp is 33\n9\n5\nhello, everyone\n*', main_file='command.cpp')