Add CTS expectation adder script

Adds a script to take a CTS queries, expand them to individual test case
names, and append them to the end of expectations.txt as valid
expectations.

Bug: chromium:1306640
Change-Id: I55067c8c49aeb4360d488841da12c06d88346b8a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/84740
Commit-Queue: Brian Sheedy <bsheedy@google.com>
Auto-Submit: Brian Sheedy <bsheedy@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
Brian Sheedy
2022-03-24 22:31:45 +00:00
committed by Dawn LUCI CQ
parent 5dea8598bd
commit d2c9864b8e
3 changed files with 104 additions and 2 deletions

View File

@@ -17,8 +17,8 @@
import os
webgpu_cts_scripts_dir = os.path.dirname(os.path.abspath(__file__))
dawn_third_party_dir = os.path.join(
os.path.dirname(os.path.dirname(webgpu_cts_scripts_dir)), 'third_party')
dawn_dir = os.path.dirname(os.path.dirname(webgpu_cts_scripts_dir))
dawn_third_party_dir = os.path.join(dawn_dir, 'third_party')
gn_webgpu_cts_dir = os.path.join(dawn_third_party_dir, 'gn', 'webgpu-cts')
webgpu_cts_root_dir = os.path.join(dawn_third_party_dir, 'webgpu-cts')
chromium_third_party_dir = None