aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-02 19:54:17 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-02 19:54:17 -0700
commitf15ac75d9cd6f2f1c04671fc404aeeaf912bba73 (patch)
tree009dd0f42a718ec71ef5f893cd73162708d86eb5 /tests
parent4b3253624632e40dc0a2b5476f67a2460dfde217 (diff)
make glut main loop throw again, and fix test_glgears
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index c1d2dc2b..93c50b20 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -6859,7 +6859,7 @@ elif 'browser' in str(sys.argv):
def test_glgears(self):
self.reftest(path_from_root('tests', 'gears.png'))
output = Popen(['python', EMCC, path_from_root('tests', 'hello_world_gles.c'), '-o', 'something.html',
- '-DHAVE_BUILTIN_SINCOS', '--pre-js', 'reftest.js'],
+ '-DHAVE_BUILTIN_SINCOS', '--pre-js', 'reftest.js', '-s', 'CATCH_EXIT_CODE=1'],
stdout=PIPE, stderr=PIPE).communicate()
assert len(output[0]) == 0, output[0]
assert os.path.exists('something.html'), output