aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-31 12:28:41 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-03-31 14:17:29 -0700
commite199d87cb80014522b40f0b7c9b7bd60ee15e8c2 (patch)
tree10371a5ea704e50911802b13bd72e90d85038f36
parent575c77ef11c1261f047b88d6af66b0957abc1833 (diff)
improve test setup for test_gl_renderers
-rwxr-xr-xtests/runner.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index edd2a4e9..008d4607 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -11532,8 +11532,7 @@ elif 'browser' in str(sys.argv):
self.btest('gl_ps_strides.c', reference='gl_ps_strides.png', args=['--preload-file', 'screenshot.png'])
def test_gl_renderers(self):
- shutil.copyfile(path_from_root('tests', 'screenshot.png'), os.path.join(self.get_dir(), 'screenshot.png'))
- self.btest('gl_renderers.c', reference='gl_renderers.png', args=['--preload-file', 'screenshot.png'])
+ self.btest('gl_renderers.c', reference='gl_renderers.png', args=['-s', 'GL_UNSAFE_OPTS=0'])
def test_matrix_identity(self):
self.btest('gl_matrix_identity.c', expected=['-1882984448', '460451840'])