Commit eb68b990 authored by Kai Ninomiya's avatar Kai Ninomiya Committed by Commit Bot

Add wpt_internal version of WebGPU CTS runner

This allows us to have our own variants list, so we can split test files
into smaller parts for more fine-grained suppression.

Bug: 984818
Change-Id: Id9a12491d592ddaf0899d40c89d01139396a92d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1860508Reviewed-by: default avatarAustin Eng <enga@chromium.org>
Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
Commit-Queue: Kenneth Russell <kbr@chromium.org>
Auto-Submit: Kai Ninomiya <kainino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#706038}
parent c209bfbf
......@@ -150,7 +150,7 @@
"--driver-logging",
"--ignore-default-expectations",
"--additional-expectations=../../third_party/blink/web_tests/WebGPUExpectations",
"--isolated-script-test-filter=external/wpt/webgpu/*",
"--isolated-script-test-filter=wpt_internal/webgpu/*",
"--no-xvfb"
],
"isolate_name": "blink_web_tests_exparchive",
......@@ -321,7 +321,7 @@
"--driver-logging",
"--ignore-default-expectations",
"--additional-expectations=../../third_party/blink/web_tests/WebGPUExpectations",
"--isolated-script-test-filter=external/wpt/webgpu/*",
"--isolated-script-test-filter=wpt_internal/webgpu/*",
"--no-xvfb"
],
"isolate_name": "blink_web_tests_exparchive",
......@@ -695,7 +695,7 @@
"--driver-logging",
"--ignore-default-expectations",
"--additional-expectations=../../third_party/blink/web_tests/WebGPUExpectations",
"--isolated-script-test-filter=external/wpt/webgpu/*"
"--isolated-script-test-filter=wpt_internal/webgpu/*"
],
"isolate_name": "blink_web_tests_exparchive",
"merge": {
......@@ -859,7 +859,7 @@
"--driver-logging",
"--ignore-default-expectations",
"--additional-expectations=../../third_party/blink/web_tests/WebGPUExpectations",
"--isolated-script-test-filter=external/wpt/webgpu/*"
"--isolated-script-test-filter=wpt_internal/webgpu/*"
],
"isolate_name": "blink_web_tests_exparchive",
"merge": {
......@@ -1227,7 +1227,7 @@
"--additional-expectations=../../third_party/blink/web_tests/WebGPUExpectations",
"-t",
"Release_x64",
"--isolated-script-test-filter=external/wpt/webgpu/*"
"--isolated-script-test-filter=wpt_internal/webgpu/*"
],
"isolate_name": "blink_web_tests_exparchive",
"merge": {
......@@ -1398,7 +1398,7 @@
"--additional-expectations=../../third_party/blink/web_tests/WebGPUExpectations",
"-t",
"Release_x64",
"--isolated-script-test-filter=external/wpt/webgpu/*"
"--isolated-script-test-filter=wpt_internal/webgpu/*"
],
"isolate_name": "blink_web_tests_exparchive",
"merge": {
......@@ -1765,7 +1765,7 @@
"--driver-logging",
"--ignore-default-expectations",
"--additional-expectations=../../third_party/blink/web_tests/WebGPUExpectations",
"--isolated-script-test-filter=external/wpt/webgpu/*"
"--isolated-script-test-filter=wpt_internal/webgpu/*"
],
"isolate_name": "blink_web_tests_exparchive",
"merge": {
......@@ -1934,7 +1934,7 @@
"--driver-logging",
"--ignore-default-expectations",
"--additional-expectations=../../third_party/blink/web_tests/WebGPUExpectations",
"--isolated-script-test-filter=external/wpt/webgpu/*"
"--isolated-script-test-filter=wpt_internal/webgpu/*"
],
"isolate_name": "blink_web_tests_exparchive",
"merge": {
......
......@@ -4121,7 +4121,7 @@
'--driver-logging',
'--ignore-default-expectations',
'--additional-expectations=../../third_party/blink/web_tests/WebGPUExpectations',
'--isolated-script-test-filter=external/wpt/webgpu/*',
'--isolated-script-test-filter=wpt_internal/webgpu/*',
],
'linux_args': [ '--no-xvfb' ],
'merge': {
......@@ -4144,7 +4144,7 @@
'--ignore-default-expectations',
'--additional-expectations=../../third_party/blink/web_tests/WebGPUExpectations',
'-t', 'Release_x64',
'--isolated-script-test-filter=external/wpt/webgpu/*',
'--isolated-script-test-filter=wpt_internal/webgpu/*',
],
'merge': {
'args': [
......
......@@ -352,6 +352,7 @@ crbug.com/981719 [ Win ] external/wpt/css/css-ui/webkit-appearance-textfield-001
# WebGPU tests are only run on GPU bots, so they are skipped by default and run
# separately from other Web Tests.
Bug(intentional) external/wpt/webgpu/ [ Skip ]
Bug(intentional) wpt_internal/webgpu/ [ Skip ]
# ====== Paint team owned tests to here ======
......
# WebGPU tests are only run on GPU bots, so they are skipped by default and run
# separately from other Web Tests, with this expectations file.
#
# Expectations in this file must apply to wpt_internal/webgpu/cts.html, NOT
# external/wpt/webgpu/cts.html, as the latter is not run.
<!--
This file is a modified copy of the cts.html from external/wpt/webgpu/.
It functions identically, except it has a custom variant list which breaks
down the test cases further so that test suppressions can be specific to
individual tests or test cases.
-->
<!doctype html>
<title>WebGPU CTS</title>
<meta charset=utf-8>
<link rel="help" href="https://gpuweb.github.io/gpuweb/">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<style>
#results {
font-family: monospace;
width: 100%;
height: 15em;
}
</style>
<textarea id=results></textarea>
<script type=module src="/webgpu/runtime/wpt.js"></script>
<meta name='variant' content='?q=cts:buffers/create_mapped:'>
<meta name='variant' content='?q=cts:buffers/map:'>
<meta name='variant' content='?q=cts:buffers/map_detach:'>
<meta name='variant' content='?q=cts:buffers/map_oom:'>
<meta name='variant' content='?q=cts:canvas/context_creation:'>
<meta name='variant' content='?q=cts:command_buffer/basic:'>
<meta name='variant' content='?q=cts:command_buffer/compute/basic:'>
<meta name='variant' content='?q=cts:command_buffer/copies:'>
<meta name='variant' content='?q=cts:command_buffer/render/basic:'>
<meta name='variant' content='?q=cts:command_buffer/render/rendering:'>
<meta name='variant' content='?q=cts:examples:'>
<meta name='variant' content='?q=cts:fences:'>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment