forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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/+/1860508 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kenneth 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}
- Loading branch information
Showing
5 changed files
with
52 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# 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 contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!-- | ||
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:'> |