aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-13 16:19:43 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-13 16:19:43 -0700
commit811fc33e235a8840e602d0064335507301497d17 (patch)
tree20d897215512f01a9efd44225df1cab1ef2b6fb2 /tests/runner.py
parent84c474ca1ee9c1c9972a36331e598bd8194287b0 (diff)
parent0e234f6c2ef88191416fd141a7d6a73267c3b182 (diff)
Merge pull request #383 from ehsan/glmatrix
Implement the OpenGL matrix routines, and also hook it up with the immediate mode stuff enough to render test_sdl_ogl
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 099cd609..7c24c799 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -7009,12 +7009,12 @@ elif 'browser' in str(sys.argv):
Popen(['python', EMCC, os.path.join(self.get_dir(), 'sdl_gl_read.c'), '-o', 'something.html']).communicate()
self.run_browser('something.html', '.', '/report_result?1')
- def zzztest_sdl_ogl(self):
+ def test_sdl_ogl(self):
# SDL, OpenGL, textures, immediate mode
shutil.copyfile(path_from_root('tests', 'screenshot.png'), os.path.join(self.get_dir(), 'screenshot.png'))
- self.reftest(path_from_root('tests', 'gears.png'))
+ self.reftest(path_from_root('tests', 'screenshot-gray.png'))
Popen(['python', EMCC, path_from_root('tests', 'sdl_ogl.c'), '-o', 'something.html', '--pre-js', 'reftest.js', '--preload-file', 'screenshot.png']).communicate()
- self.run_browser('something.html', 'You should see animating gears.', '/report_result?1779')
+ self.run_browser('something.html', 'You should see an image with gray at the top.', '/report_result?0')
def test_worker(self):
# Test running in a web worker