• Lin Sun's avatar
    Generates GPU driver tags for WebGL expectations · 60abae9c
    Lin Sun authored
    For WebGL conformance test, we can specify some conditions to limit the
    test environment that one test case may fail. But these conditions don't
    include graphics driver information. By this patch, the WebGL test
    framework can generate driver tags based on the vendor and version of
    the graphics driver of current system for the expectations file. The
    format of driver tag is as below:
    crbug.com/123 [ linux mesa_lt_18.0.5 ] abc.html [ Failure ]
    
    When adding or removing driver tags in the expectatioins file, it's also
    necessary to modify the list of available driver tags in the header of
    webgl_conformance_integration_test.py.
    
    Bug: 957515
    Change-Id: I29835cae0b042cd86eb4fa438f60803e371d8d1a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647464
    Commit-Queue: Lin Sun <lin.sun@intel.com>
    Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#672596}
    60abae9c
test_expectations_unittest.py 25.2 KB