diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-05-15 19:07:12 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-05-15 19:07:12 -0700 |
commit | 1be1268669d2a253312dd7b9f2da564e4dfc8e24 (patch) | |
tree | c4f2512ed5e4b13614f4988a4078f04d3e1e56be /tests/runner.py | |
parent | 798e635cf912d778f08f8107d6d59fcd11b20082 (diff) |
remove compiler argument to emscripten.py - use ~/.emscripten instead
Diffstat (limited to 'tests/runner.py')
-rw-r--r-- | tests/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 7bb5f5ab..eeb09978 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -231,7 +231,7 @@ class RunnerCore(unittest.TestCase): for setting in ['QUANTUM_SIZE', 'RELOOP', 'OPTIMIZE', 'ASSERTIONS', 'USE_TYPED_ARRAYS', 'SAFE_HEAP', 'CHECK_OVERFLOWS', 'CORRECT_OVERFLOWS', 'CORRECT_SIGNS', 'CHECK_SIGNS', 'CORRECT_OVERFLOWS_LINES', 'CORRECT_SIGNS_LINES', 'CORRECT_ROUNDINGS', 'CORRECT_ROUNDINGS_LINES', 'INVOKE_RUN', 'SAFE_HEAP_LINES', 'INIT_STACK']: value = eval(setting) exported_settings[setting] = value - compiler_output = timeout_run(Popen([EMSCRIPTEN, filename + '.o.ll', COMPILER_ENGINE[0], str(exported_settings).replace("'", '"'), filename + '.o.js'], stdout=PIPE, stderr=STDOUT), TIMEOUT, 'Compiling') + compiler_output = timeout_run(Popen([EMSCRIPTEN, filename + '.o.ll', str(exported_settings).replace("'", '"'), filename + '.o.js'], stdout=PIPE, stderr=STDOUT), TIMEOUT, 'Compiling') # Detect compilation crashes and errors if compiler_output is not None and 'Traceback' in compiler_output and 'in test_' in compiler_output: print compiler_output; assert 0 |