Skip to content

Commit da3123a

Browse files
fix: remove SubtestOutcome::Crash
This isn't actually a valid subtest outcome. 😅 Sorry for the confusion!
1 parent ba80fe5 commit da3123a

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

moz-webgpu-cts/src/main.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -772,14 +772,6 @@ fn run(cli: Cli) -> ExitCode {
772772
)
773773
})
774774
}
775-
SubtestOutcome::Crash => receiver(&mut |analysis| {
776-
insert_in_test_set(
777-
&mut analysis.tests_with_crashes,
778-
test_name,
779-
expected,
780-
outcome,
781-
)
782-
}),
783775
SubtestOutcome::Fail => receiver(&mut |analysis| {
784776
insert_in_subtest_by_test_set(
785777
&mut analysis.subtests_with_failures_by_test,

moz-webgpu-cts/src/wpt/metadata.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,6 @@ pub enum SubtestOutcome {
13241324
Pass,
13251325
Fail,
13261326
Timeout,
1327-
Crash,
13281327
NotRun,
13291328
}
13301329

@@ -1343,7 +1342,6 @@ impl Display for SubtestOutcome {
13431342
Self::Pass => PASS,
13441343
Self::Fail => FAIL,
13451344
Self::Timeout => TIMEOUT,
1346-
Self::Crash => CRASH,
13471345
Self::NotRun => NOTRUN,
13481346
}
13491347
)
@@ -1360,7 +1358,6 @@ impl SubtestOutcome {
13601358
keyword(PASS).to(SubtestOutcome::Pass),
13611359
keyword(FAIL).to(SubtestOutcome::Fail),
13621360
keyword(TIMEOUT).to(SubtestOutcome::Timeout),
1363-
keyword(CRASH).to(SubtestOutcome::Crash),
13641361
keyword(NOTRUN).to(SubtestOutcome::NotRun),
13651362
))
13661363
}

0 commit comments

Comments
 (0)