Changeset 223632 in webkit


Ignore:
Timestamp:
Oct 18, 2017 3:01:49 PM (7 years ago)
Author:
dino@apple.com
Message:

Make failing WebGL tests produce debug output
https://bugs.webkit.org/show_bug.cgi?id=178421

Reviewed by Jon Lee.

If a WebGL conformance test fails, we just get the word "FAIL". Instead,
have it log the actual output of the test, so we can see what happens
on bots.

Drive-by fix where I noticed a test file was missing, that causes
two tests to timeout. They may still timeout, but now because they
take a long time to run rather than they have a JS error.

  • platform/mac/TestExpectations:
  • webgl/1.0.2/resources/webgl_test_files/conformance/resources/iterable-test.js: Added.
  • webgl/1.0.2/resources/webkit-webgl-test-harness.js:

(window.webglTestHarness.notifyFinished):

  • webgl/resources/webkit-webgl-test-harness.js:

(window.webglTestHarness.notifyFinished):

Location:
trunk/LayoutTests
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r223626 r223632  
     12017-10-17  Dean Jackson  <dino@apple.com>
     2
     3        Make failing WebGL tests produce debug output
     4        https://bugs.webkit.org/show_bug.cgi?id=178421
     5
     6        Reviewed by Jon Lee.
     7
     8        If a WebGL conformance test fails, we just get the word "FAIL". Instead,
     9        have it log the actual output of the test, so we can see what happens
     10        on bots.
     11
     12        Drive-by fix where I noticed a test file was missing, that causes
     13        two tests to timeout. They may still timeout, but now because they
     14        take a long time to run rather than they have a JS error.
     15
     16        * platform/mac/TestExpectations:
     17        * webgl/1.0.2/resources/webgl_test_files/conformance/resources/iterable-test.js: Added.
     18        * webgl/1.0.2/resources/webkit-webgl-test-harness.js:
     19        (window.webglTestHarness.notifyFinished):
     20        * webgl/resources/webkit-webgl-test-harness.js:
     21        (window.webglTestHarness.notifyFinished):
     22
    1232017-10-18  Eric Carlson  <eric.carlson@apple.com>
    224
  • trunk/LayoutTests/platform/mac/TestExpectations

    r223414 r223632  
    396396# Unexpected WebGL Conformance tests that need to be fixed
    397397# These tests pass when run through webgl-conformance-tests.html but not when just opened via a browser (or via run-webkit-tests)
    398 webgl/1.0.2/conformance/context/context-creation-and-destruction.html [ Failure Timeout ]
    399 webgl/1.0.2/conformance/rendering/multisample-corruption.html [ Pass Failure Timeout ]
     398webgl/1.0.2/conformance/context/context-creation-and-destruction.html [ Pass Timeout ]
     399webgl/1.0.2/conformance/rendering/multisample-corruption.html [ Pass Timeout ]
    400400http/tests/webgl/1.0.2/origin-clean-conformance.html [ Skip ]
    401401
  • trunk/LayoutTests/webgl/1.0.2/resources/webkit-webgl-test-harness.js

    r198091 r223632  
    4040    notifyFinished: function(url) {
    4141      var iframe = document.getElementById("iframe");
    42       iframe.innerHTML = "";
    4342      if (numFailures > 0) {
    4443        log("FAIL", "red");
    4544      } else {
    4645        log("PASS", "green");
     46        iframe.innerHTML = "";
    4747      }
    4848
  • trunk/LayoutTests/webgl/resources/webkit-webgl-test-harness.js

    r198091 r223632  
    4040    notifyFinished: function(url) {
    4141      var iframe = document.getElementById("iframe");
    42       iframe.innerHTML = "";
    4342      if (numFailures > 0) {
    4443        log("FAIL", "red");
    4544      } else {
    4645        log("PASS", "green");
     46        iframe.innerHTML = "";
    4747      }
    4848
Note: See TracChangeset for help on using the changeset viewer.