diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-05 12:09:14 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-05 12:09:14 -0700 |
commit | 8019523bafc3f527a39243034c0ed32a4f2b4918 (patch) | |
tree | c84201004ef4f05b5838703834ddb6833463163b /tests/runner.py | |
parent | 12e45ea3243b1e734e01785109ec73e76f23965c (diff) | |
parent | 0e3a9f23a329a967ffb7b2b7983013d4d055ac36 (diff) |
Merge pull request #353 from ehsan/stddev_extension
Stddev extension
Diffstat (limited to 'tests/runner.py')
-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 532b6b0d..f96f2f7c 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -6911,6 +6911,15 @@ elif 'browser' in str(sys.argv): assert os.path.exists('something.html'), output self.run_browser('something.html', 'You should not see animating gears.', '/report_gl_result?false') + def test_glgears_deriv(self): + self.reftest(path_from_root('tests', 'gears.png')) + output = Popen(['python', EMCC, path_from_root('tests', 'hello_world_gles_deriv.c'), '-o', 'something.html', + '-DHAVE_BUILTIN_SINCOS', '--pre-js', 'reftest.js'], + 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_result?0') + def test_glbook(self): programs = self.get_library('glbook', [ os.path.join('Chapter_2', 'Hello_Triangle', 'CH02_HelloTriangle.bc'), |