Delete old WebGPU CTS support infrastructure
This removes all the CTS infrastructure except that which is needed
for the reftests. Reftests will still need to be first pointed to Dawn's
copy of the CTS before they can be removed from Chrome.
Bug: 1333969
Change-Id: Ie46dfd99242dec7c36dcab54b7d6dad0e51b5a52
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3694099
Commit-Queue: Austin Eng <[email protected]>
Reviewed-by: Mike Pinkerton <[email protected]>
Reviewed-by: Kai Ninomiya <[email protected]>
Reviewed-by: Kent Tamura <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1012306}
diff --git a/BUILD.gn b/BUILD.gn
index 95b5560..b9b09ed 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1458,23 +1458,18 @@
# This target differs from :blink_web_tests in that it uses the same
# test harness and a few additional flags but, more importantly, only runs
# the web_tests/wpt_internal/webgpu tests, so it doesn't have a data
- # dependency on the whole web_test directory. run_webgpu_cts.py is a wrapper
- # script around run_web_tests.py which performs additional setup for running
- # the WebGPU CTS.
+ # dependency on the whole web_test directory.
script = _common_web_test_script
- # Add run_webgpu_cts.py and remove run_web_tests.py from _common_web_test_args
- args = [ "@WrappedPath(" +
- rebase_path("//third_party/blink/tools/run_webgpu_cts.py",
- root_build_dir) + ")" ] + _common_web_test_args -
- [ _common_web_test_args[0] ]
+ args = _common_web_test_args
if (is_asan) {
args += [ "--timeout-ms=30000" ]
}
args += [
- "--webgpu-cts-expectations",
+ "--ignore-default-expectations",
+ "--additional-expectations",
"@WrappedPath(../../third_party/blink/web_tests/WebGPUExpectations)",
- "--isolated-script-test-filter=wpt_internal/webgpu/web_platform/reftests",
+ "--isolated-script-test-filter=wpt_internal/webgpu/web_platform/reftests/*",
]
data_deps = [