diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-07-11 18:53:30 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-07-11 18:53:30 -0700 |
commit | 8f49ea85f58d173db398e8b87f3e4ea89a79a87b (patch) | |
tree | 55674d9ca809b40bcfcb54bbe71ec1b49711d4d6 | |
parent | f367fe79e338178225c34dbd0e870a4754e29f18 (diff) |
clear errors for exceptions inside emscripten.py from test runner
-rw-r--r-- | tests/runner.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index d3d5beb8..b49edf38 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -184,6 +184,7 @@ class RunnerCore(unittest.TestCase): # 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 + assert os.path.exists(filename + '.o.js'), 'Emscripten failed to generate .js: ' + str(compiler_output) if output_processor is not None: output_processor(open(filename + '.o.js').read()) |