Skip to content

Commit 746488e

Browse files
Merge pull request #119 from ErichDonGubler/js-tests
Support `*.worker.js` metadata and reports
2 parents 0587c91 + 4c7f8f0 commit 746488e

2 files changed

Lines changed: 334 additions & 58 deletions

File tree

moz-webgpu-cts/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,12 @@ fn run(cli: Cli) -> ExitCode {
290290

291291
fn cts_path(test_entry_path: &TestEntryPath<'_>) -> Option<String> {
292292
test_entry_path
293+
.test_entry
293294
.variant
294295
.as_ref()
295296
.filter(|v| v.starts_with("?q=webgpu:"))
296297
.map(|v| v.strip_prefix("?q=").unwrap().to_owned())
297-
.filter(|_q| test_entry_path.path.ends_with("cts.https.html"))
298+
.filter(|_q| test_entry_path.spec_path.path.ends_with("cts.https.html"))
298299
}
299300

300301
let mut file_props_by_file = IndexMap::<Utf8PathBuf, FileProps>::default();

0 commit comments

Comments
 (0)