diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-04-09 17:24:38 -0400 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-04-09 17:24:38 -0400 |
commit | a1a6fcf442b6f0c306155d6b6ef8821ae782fbf2 (patch) | |
tree | de42d3eb8480e70c7255d2bd7bd866d6e2ef6cdd | |
parent | 1e5ce6cb081d93efc761b1f70b0d0a43e1f27ca0 (diff) |
Restore the es2gears animation
This makes sure that the GLUT-based animation infrastructure continues
to work in the future.
-rwxr-xr-x | tests/runner.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index d16d3e8b..99175b36 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -6961,6 +6961,15 @@ elif 'browser' in str(sys.argv): assert os.path.exists('something.html'), output self.run_browser('something.html', 'You should see animating gears.', '/report_result?0') + def test_glgears_animation(self): + output = Popen(['python', EMCC, path_from_root('tests', 'hello_world_gles.c'), '-o', 'something.html', + '-DHAVE_BUILTIN_SINCOS', + '--shell-file', path_from_root('tests', 'hello_world_gles_shell.html')], + stdout=PIPE, stderr=PIPE).communicate() + assert len(output[0]) == 0, output[0] + assert os.path.exists('something.html'), output + self.run_browser('something.html', 'You should see animating gears.', '/report_gl_result?true') + def test_glgears_bad(self): # Make sure that OpenGL ES is not available if typed arrays are not used output = Popen(['python', EMCC, path_from_root('tests', 'hello_world_gles.c'), '-o', 'something.html', |