aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-13 14:32:58 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-13 14:32:58 -0700
commitce965a4e68540009cfe9d047a55cfe54f6e5605d (patch)
tree8addcafb223f3f0b9552293577fcc93767834110
parentfae19ff8567d874f7da6a614516ebd0f21de8e8c (diff)
add some slack to glgears tests
-rw-r--r--tests/test_browser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_browser.py b/tests/test_browser.py
index 60c030aa..be2c388b 100644
--- a/tests/test_browser.py
+++ b/tests/test_browser.py
@@ -1056,7 +1056,7 @@ Press any key to continue.'''
server.terminate()
def test_glgears(self):
- self.btest('hello_world_gles.c', reference='gears.png',
+ self.btest('hello_world_gles.c', reference='gears.png', reference_slack=1,
args=['-DHAVE_BUILTIN_SINCOS'], outfile='something.html',
message='You should see animating gears.')
@@ -1079,7 +1079,7 @@ Press any key to continue.'''
self.btest('full_es2_sdlproc.c', '1', args=['-s', 'GL_TESTING=1', '-DHAVE_BUILTIN_SINCOS', '-s', 'FULL_ES2=1'])
def test_glgears_deriv(self):
- self.btest('hello_world_gles_deriv.c', reference='gears.png',
+ self.btest('hello_world_gles_deriv.c', reference='gears.png', reference_slack=1,
args=['-DHAVE_BUILTIN_SINCOS'], outfile='something.html',
message='You should see animating gears.')
with open('something.html') as f: