@@ -753,15 +753,16 @@ fn run(cli: Cli) -> ExitCode {
753753 "from metadata files, analyzing results…"
754754 ) ) ;
755755
756+ type TestSet = BTreeSet < Arc < SectionHeader > > ;
757+ type SubtestByTestSet = BTreeMap < Arc < SectionHeader > , IndexSet < Arc < SectionHeader > > > ;
758+
756759 #[ derive( Clone , Debug , Default ) ]
757760 struct PerPlatformAnalysis {
758- tests_with_runner_errors : BTreeSet < Arc < SectionHeader > > ,
759- tests_with_disabled_or_skip : BTreeSet < Arc < SectionHeader > > ,
760- tests_with_crashes : BTreeSet < Arc < SectionHeader > > ,
761- subtests_with_failures_by_test :
762- BTreeMap < Arc < SectionHeader > , IndexSet < Arc < SectionHeader > > > ,
763- subtests_with_timeouts_by_test :
764- BTreeMap < Arc < SectionHeader > , IndexSet < Arc < SectionHeader > > > ,
761+ tests_with_runner_errors : TestSet ,
762+ tests_with_disabled_or_skip : TestSet ,
763+ tests_with_crashes : TestSet ,
764+ subtests_with_failures_by_test : SubtestByTestSet ,
765+ subtests_with_timeouts_by_test : SubtestByTestSet ,
765766 }
766767
767768 #[ derive( Clone , Debug , Default ) ]
@@ -1063,12 +1064,12 @@ fn run(cli: Cli) -> ExitCode {
10631064 "\
10641065 {platform:?}:
10651066 HIGH PRIORITY:
1066- {num_tests_with_runner_errors} test with execution reporting `ERROR`
1067- {num_tests_with_disabled} tests with some portion marked as `disabled`
1068- {num_tests_with_crashes} tests with some portion expecting `CRASH`
1067+ {num_tests_with_runner_errors} test(s) with execution reporting `ERROR`
1068+ {num_tests_with_disabled} test(s) with some portion marked as `disabled`
1069+ {num_tests_with_crashes} test(s) with some portion expecting `CRASH`
10691070 MEDIUM PRIORITY:
1070- {num_tests_with_failures_somewhere} tests with some portion `FAIL`ing, {num_subtests_with_failures_somewhere} subtests total
1071- {num_tests_with_timeouts_somewhere} tests with some portion returning `TIMEOUT`/`NOTRUN`, {num_subtests_with_timeouts_somewhere} subtests total
1071+ {num_tests_with_failures_somewhere} test(s) with some portion `FAIL`ing, {num_subtests_with_failures_somewhere} subtests total
1072+ {num_tests_with_timeouts_somewhere} test(s) with some portion returning `TIMEOUT`/`NOTRUN`, {num_subtests_with_timeouts_somewhere} subtests total
10721073"
10731074 ) ;
10741075 } ) ;
0 commit comments