Bug 759221 - 5/6 - mark known failing WebGL conformance tests on Android - r=jgilbert

This commit is contained in:
Benoit Jacob 2012-06-08 13:41:43 -04:00
parent fb2dcf4256
commit 79ddf6d351
3 changed files with 42 additions and 1 deletions

View File

@ -17,6 +17,7 @@ _TEST_FILES = \
failing_tests_linux.txt \
failing_tests_windows.txt \
failing_tests_mac.txt \
failing_tests_android.txt \
$(NULL)
libs:: $(_TEST_FILES)

View File

@ -0,0 +1,35 @@
conformance/extensions/oes-standard-derivatives.html
conformance/glsl/functions/glsl-function-abs.html
conformance/glsl/functions/glsl-function-ceil.html
conformance/glsl/functions/glsl-function-clamp-float.html
conformance/glsl/functions/glsl-function-clamp-gentype.html
conformance/glsl/functions/glsl-function-cross.html
conformance/glsl/functions/glsl-function-distance.html
conformance/glsl/functions/glsl-function-dot.html
conformance/glsl/functions/glsl-function-faceforward.html
conformance/glsl/functions/glsl-function-floor.html
conformance/glsl/functions/glsl-function-fract.html
conformance/glsl/functions/glsl-function.html
conformance/glsl/functions/glsl-function-length.html
conformance/glsl/functions/glsl-function-max-float.html
conformance/glsl/functions/glsl-function-max-gentype.html
conformance/glsl/functions/glsl-function-min-float.html
conformance/glsl/functions/glsl-function-min-gentype.html
conformance/glsl/functions/glsl-function-mix-float.html
conformance/glsl/functions/glsl-function-mix-gentype.html
conformance/glsl/functions/glsl-function-mod-float.html
conformance/glsl/functions/glsl-function-mod-gentype.html
conformance/glsl/functions/glsl-function-normalize.html
conformance/glsl/functions/glsl-function-reflect.html
conformance/glsl/functions/glsl-function-sign.html
conformance/glsl/functions/glsl-function-smoothstep-float.html
conformance/glsl/functions/glsl-function-smoothstep-gentype.html
conformance/glsl/functions/glsl-function-step-float.html
conformance/glsl/functions/glsl-function-step-gentype.html
conformance/glsl/misc/glsl-function-nodes.html
conformance/glsl/misc/shared.html
conformance/misc/null-object-behaviour.html
conformance/renderbuffers/framebuffer-object-attachment.html
conformance/textures/texture-mips.html
conformance/textures/texture-npot.html
conformance/textures/texture-npot-video.html

View File

@ -49,9 +49,12 @@ function start() {
var kIsWindows = false;
var kIsMac = false;
var kIsLinux = false;
var kIsAndroid = false;
if (navigator.platform.indexOf("Win") == 0)
kIsWindows = true;
else if (navigator.platform.indexOf("Linux") == 0)
else if (navigator.appVersion.indexOf("Android") != -1)
kIsAndroid = true;
else if (navigator.platform.indexOf("Linux") == 0) // must be checked after android, as android also has a 'Linux' platform string
kIsLinux = true;
else if (navigator.platform.indexOf("Mac") == 0)
kIsMac = true;
@ -432,6 +435,8 @@ function start() {
failingTestsFilename = 'failing_tests_linux.txt';
else if (kIsMac)
failingTestsFilename = 'failing_tests_mac.txt';
else if (kIsAndroid)
failingTestsFilename = 'failing_tests_android.txt';
var testsExpectedToFail = loadTextFileSynchronous(failingTestsFilename)
.replace(/\r/g, '') // convert to unix line breaks