ced4c0d2cd
Adds the generated CTS test list to the existing gn/webgpu-cts group so that Chromium tests properly include the generated file. Also updates some existing BUILD.gn file paths to be consistent with Chromium styling: relative paths without the leading ./ for files under the current directory and directories before and separate from individual files. Bug: dawn:1479 Change-Id: Icce70e7fcee874b6b33c21230c8a4429a1f7ab6c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98801 Commit-Queue: Austin Eng <enga@chromium.org> Auto-Submit: Brian Sheedy <bsheedy@google.com> Reviewed-by: Austin Eng <enga@chromium.org> |
||
---|---|---|
.. | ||
scripts | ||
webtests | ||
BUILD.gn | ||
README.md | ||
expectations.txt | ||
test_page.html | ||
test_runner.js | ||
worker_test_globs.txt |
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
.