clear errors for exceptions inside emscripten.py from test runner
This commit is contained in:
Родитель
f367fe79e3
Коммит
8f49ea85f5
|
@ -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())
|
||||
|
|
Загрузка…
Ссылка в новой задаче