diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-09 15:24:35 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-09 15:24:35 -0700 |
commit | 584ab7bf76e0f7d3b5fa4a84749794df21bc6774 (patch) | |
tree | 37d85c2ec4205c7caf92b5f495b55fdf77eeccd9 | |
parent | e0bf9210e82903981c95ea9a0cdce28e2aaa085a (diff) | |
parent | a1a6fcf442b6f0c306155d6b6ef8821ae782fbf2 (diff) |
Merge pull request #367 from ehsan/gears_animation_reftest
Gears animation reftest
-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', |