aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-04 15:04:18 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-04 15:04:18 -0700
commitf4be2e8e34cf9394ecd5e7166a584b4224f77d6d (patch)
tree1dce727d683129c1f12346d0168072e5a0c52f0d /tests/runner.py
parentb52ad77314eada644113d6c0c0df8c05a1bcc424 (diff)
add another glbook passing testcase
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 0165dd3d..16ef9b88 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -6601,8 +6601,8 @@ elif 'browser' in str(sys.argv):
doReftest.done = true;
var img = new Image();
img.onload = function() {
- assert(img.width == Module.canvas.width);
- assert(img.height == Module.canvas.height);
+ assert(img.width == Module.canvas.width, 'Invalid width: ' + Module.canvas.width + ', should be ' + img.width);
+ assert(img.height == Module.canvas.height, 'Invalid height: ' + Module.canvas.height + ', should be ' + img.height);
var canvas = document.createElement('canvas');
canvas.width = img.width;
@@ -6915,6 +6915,7 @@ elif 'browser' in str(sys.argv):
os.path.join('Chapter_8', 'Simple_VertexShader', 'CH08_SimpleVertexShader.bc'),
os.path.join('Chapter_9', 'Simple_Texture2D', 'CH09_SimpleTexture2D.bc'),
os.path.join('Chapter_9', 'Simple_TextureCubemap', 'CH09_TextureCubemap.bc'),
+ os.path.join('Chapter_9', 'TextureWrap', 'CH09_TextureWrap.bc'),
], configure=None)
for program in programs:
print program