compiletest: show affected architecture in error summary #78517
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
When compiletest fails, it prints an error summary like this at the end:
However, there is one very important bit of information that I cannot gleam from this information: what are the host and target architectures that were tested! Figuring this out requires scrolling up quite a bit to where this test beings (and carefully not scrolling up too far because then one might look at the wrong test).
See #78343 for an example where this confused people. I have also been confused by this multiple times in the past, e.g. using the name of the CI runner to incorrectly deduce what the architecture(s) are (and not realizing that some of our runners run tests for quite a few different targets).
So I think in case of a failure, that summary at the end should repeat the important information that is printed at the top of the test run:
The text was updated successfully, but these errors were encountered: