aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-02 15:50:56 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-02 15:50:56 -0700
commitc22a3398a4fd8e495898e9dfaba4e15f47d1630f (patch)
tree25608e73a0cb493914f203a00198bfc518c6efd8 /tests/runner.py
parent2cb37d3818ce1acbc074e0a545b588ba41aee332 (diff)
convert test_cubegeom_pre to reftest
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 61fde26f..9e1e6707 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -12417,6 +12417,7 @@ elif 'browser' in str(sys.argv):
var actualUrl = Module.canvas.toDataURL();
var actualImage = new Image();
actualImage.onload = function() {
+ //document.body.appendChild(actualImage); // to grab it for creating the test reference
var actualCanvas = document.createElement('canvas');
actualCanvas.width = actualImage.width;
actualCanvas.height = actualImage.height;
@@ -13604,7 +13605,7 @@ Press any key to continue.'''
self.btest('gl_matrix_identity.c', expected=['-1882984448', '460451840'])
def test_cubegeom_pre(self):
- self.btest('cubegeom_pre.c', expected=['-1472804742', '-1626058463', '-2046234971'])
+ self.btest('cubegeom_pre.c', reference='cubegeom_pre.png')
def test_cubegeom_pre2(self):
self.btest('cubegeom_pre2.c', expected=['-1472804742', '-1626058463', '-2046234971'], args=['-s', 'GL_DEBUG=1']) # some coverage for GL_DEBUG not breaking the build