Browse Source

Try virtual screen test Fix.

sebastien 7 years ago
parent
commit
4b0d480cf7
1 changed files with 5 additions and 0 deletions
  1. 5 0
      tests/validation/integration.js

+ 5 - 0
tests/validation/integration.js

@@ -21,6 +21,11 @@ xhr.addEventListener("load", function () {
                         var info = engine.getGlInfo();
                         var info = engine.getGlInfo();
                         console.log("Webgl Version: " + info.version);
                         console.log("Webgl Version: " + info.version);
                         console.log("Webgl Vendor: " + info.vendor);
                         console.log("Webgl Vendor: " + info.vendor);
+                        // Reduces error ratio on Embedded Firefox for travis.
+                        if (info.vendor === "VMware, Inc.") {
+                            errorRatio = 5;
+                        }
+
                         console.log("Webgl Renderer: " + info.renderer);
                         console.log("Webgl Renderer: " + info.renderer);
                         done();
                         done();
                     });
                     });