Skip to content

Commit 109a6d9

Browse files
WIP: feat: aggregate-timings-from-log subcmd.
TODO: Move from current incorrect flow to: ``` not_running_test -|test_start|-> running_test * TEST-START | <test_path> running_test -|test_end_with_ok_or_crash|-> not_running_test * TEST-OK | <test_path> | took <duration>ms * TEST-CRASH | <test_path> | took <duration>ms * TEST-KNOWN-INTERMITTENT-CRASH | <test_path> | took <duration>ms running_test -|test_end_with_unexpected_crash|-> ending_test * TEST-UNEXPECTED-CRASH | <test_path> | took <duration>ms * TEST-UNEXPECTED-CRASH | <test_path> | expected <outcome> TEST-INFO expected <outcome> | took <duration>ms ending_test -|subtest_unexpected|-> not_running_test * TEST-UNEXPECTED-PASS | <test_path> | <subtest> | expected <outcome> TEST-INFO | expected <outcome> * TEST-UNEXPECTED-FAIL | <test_path> | <subtest> - <msg> running_test -|subtest_pass_or_fail|-> running_test # N.B., a trailing space! * TEST-PASS | <test_path> | <subtest> * TEST-FAIL | <test_path> | <subtest> - <msg> # Timeouts running_test -|subtest_timeout|-> ending_test_with_timeout ending_test_with_timeout -|subtest_notrun|-> ending_test_with_timeout * TEST-UNEXPECTED-NOTRUN | <test_path | <subtest> - expected PASS * TEST-UNEXPECTED-NOTRUN | <test_path | <subtest> - expected FAIL TEST-INFO | expected FAIL * TEST-KNOWN-INTERMITTENT-NOTRUN | <test_path> | <subtest> * TEST-UNEXPECTED-NOTRUN | <test_path> | <subtest> [msg] ending_test_with_timeout -|test_end_with_expected_timeout|-> not_running_test * TEST-TIMEOUT | <test_path> | took <duration>ms ending_test_with_timeout -|test_end_with_unexpected_timeout|-> not_running_test * TEST-UNEXPECTED-TIMEOUT | <test_path> | took <duration>ms TEST-INFO took <duration>ms ``` TEST-UNEXPECTED
1 parent dfd1a3c commit 109a6d9

6 files changed

Lines changed: 1720 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 159 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

moz-webgpu-cts/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ license = false
1818
eula = false
1919

2020
[dependencies]
21+
anyhow = "1.0.95"
2122
camino = { version = "1.1.6", features = ["serde1"] }
23+
chrono = "0.4.38"
2224
clap = { version = "4.4.2", features = ["derive"] }
2325
enum-map = { version = "2.7.3", features = ["serde"] }
2426
enumset = { version = "1.1.3", features = ["serde"] }

0 commit comments

Comments
 (0)