diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-01-27 16:57:56 -0500 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-01-27 16:57:56 -0500 |
commit | 0ed56c82a3d1d6c86eb648a7062ee6a4fb92b4f9 (patch) | |
tree | 20a701b514c61e3aa3a5f02e5c8b8d09e264be1f /tests/runner.py | |
parent | 3668ca932450198e2f6947e8a369bd031c5be878 (diff) |
Add a human assisted test for the OpenGL ES implementation
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index e6308496..997facd5 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -5618,6 +5618,13 @@ f.close() html_file.close() run_browser('main.html', 'You should see that the worker was called, and said "hello from worker!"') + # test the OpenGL ES implementation + clear() + output = Popen([EMCC, path_from_root('tests', 'hello_world_gles.c'), '-o', 'something.html', '-DHAVE_BUILTIN_SINCOS'], stdout=PIPE, stderr=PIPE).communicate() + assert len(output[0]) == 0, output[0] + assert os.path.exists('something.html'), output + run_browser('something.html', 'You should see animating gears.') + def test_eliminator(self): input = open(path_from_root('tools', 'eliminator', 'eliminator-test.js')).read() expected = open(path_from_root('tools', 'eliminator', 'eliminator-test-output.js')).read() |