aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-06 16:06:24 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-02-06 16:06:24 -0800
commit1c1d7036c6699aa91e0a29a07ec0872bc8a8dec3 (patch)
treeccdc2a6e1a548ab0e1612dabf557403135a97b27 /tests/runner.py
parent3360757e086753077696d96d06fc1c5edb44d175 (diff)
support packed attributes in gl emulation code, perform restriding manually
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 975a2ace..31ec06e5 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -10381,6 +10381,11 @@ elif 'browser' in str(sys.argv):
shutil.copyfile(path_from_root('tests', 'screenshot.png'), os.path.join(self.get_dir(), 'screenshot.png'))
self.btest('gl_ps.c', reference='gl_ps.png', args=['--preload-file', 'screenshot.png'])
+ def test_gl_ps_packed(self):
+ # packed data that needs to be strided
+ shutil.copyfile(path_from_root('tests', 'screenshot.png'), os.path.join(self.get_dir(), 'screenshot.png'))
+ self.btest('gl_ps_packed.c', reference='gl_ps.png', args=['--preload-file', 'screenshot.png'])
+
def test_matrix_identity(self):
self.btest('gl_matrix_identity.c', expected=['-1882984448', '460451840'])