931a4ddb1c
• Remove a number of expectations that are no longer needed. • Change a number of expectation tags to be more specific. • Sort the expectations per chunk. • Add a few more wide-wildcard 'Failure' rules for tests that commonly flake. Bug: dawn:1342 Change-Id: I0e23cd546f7ab54a5720e24c52e3782b5df6b99f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87520 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> |
||
---|---|---|
.. | ||
scripts | ||
BUILD.gn | ||
README.md | ||
expectations.txt | ||
test_page.html | ||
test_runner.js |
README.md
Running the WebGPU CTS Locally with Chrome
Running the WebGPU CTS locally with Chrome requires a Chromium checkout.
Follow these instructions for checking out
and building Chrome. You'll also need to build the telemetry_gpu_integration_test
target.
At the root of a Chromium checkout, run:
./content/test/gpu/run_gpu_integration_test.py webgpu_cts --browser=exact --browser-executable=path/to/your/chrome-executable
If you don't want to build Chrome, you can still run the CTS, by passing the path to an existing Chrome executable to the --browser-executable
argument. You should still build the telemetry_gpu_integration_test
target to support all harness
functionality.
Useful command-line arguments:
-l
: List all tests that would be run.--test-filter
: Filter tests. Run--help
for more information.--help
: See more options.--passthrough --show-stdout
: Show browser output. See also--browser-logging-verbosity
.--extra-browser-args
: Pass extra args to the browser executable.--is-backend-validation
: Enable backend validation. TODO: rename this to--backend-validation
.