diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-15 10:50:51 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-15 10:50:51 -0700 |
commit | ced412e4d5a26ad59a007b9e27d02c2e9ed99d15 (patch) | |
tree | 98e97f9e1cda08bf963148b40d6c92a608ed5aa6 /tests/runner.py | |
parent | 9d73d7ce8abb9b2049de489f76e9b79fbf1770f5 (diff) |
assert in btest on successful compilation
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 2c6af351..8feb83f9 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -649,6 +649,7 @@ class BrowserCore(RunnerCore): self.reftest(path_from_root('tests', reference)) args = args + ['--pre-js', 'reftest.js', '-s', 'GL_TESTING=1'] Popen([PYTHON, EMCC, temp_filepath, '-o', outfile] + args).communicate() + assert os.path.exists(outfile) if type(expected) is str: expected = [expected] self.run_browser(outfile, message, ['/report_result?' + e for e in expected]) @@ -771,4 +772,5 @@ an individual test with else: testRunner = unittest.TextTestRunner(verbosity=2) for suite in suites: - testRunner.run(suite)
\ No newline at end of file + testRunner.run(suite) + |