We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa82c1f commit 14c2165Copy full SHA for 14c2165
1 file changed
moz-webgpu-cts/src/main.rs
@@ -564,7 +564,13 @@ fn run(cli: Cli) -> ExitCode {
564
}
565
566
567
+ let test_count = u64::try_from(tests_by_name.len()).unwrap();
568
+ let subtest_count = tests_by_name
569
+ .values()
570
+ .map(|test| u64::try_from(test.inner.subtests.len()).unwrap())
571
+ .sum::<u64>();
572
let mut analysis = Analysis::default();
573
+
574
for (test_name, test) in tests_by_name {
575
let TaggedTest {
576
orig_path: _,
@@ -773,6 +779,7 @@ fn run(cli: Cli) -> ExitCode {
773
779
774
780
775
781
log::info!("finished analysis, printing to `stdout`…");
782
+ println!("Total: {test_count} test(s), {subtest_count} subtest(s)");
776
783
analysis.for_each_platform(|platform, analysis| {
777
784
let show_zero_count_item = match on_zero_item {
778
785
OnZeroItem::Show => true,
0 commit comments