about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-09 20:20:19 +0200
committerGitHub <noreply@github.com>2024-09-09 20:20:19 +0200
commit3658bfb6ea143aab6c084331de0a2fadc3ae0d94 (patch)
treeca864375ef370c7a029e53da6fc1de81494b4c30 /compiler/rustc_codegen_llvm/src/errors.rs
parent2d26ebe3f9ad27e3425bac50be581db6ebd71838 (diff)
parentacccb39bff3c589b286c2dfe0d2f2afc8d1a3775 (diff)
downloadrust-3658bfb6ea143aab6c084331de0a2fadc3ae0d94.tar.gz
rust-3658bfb6ea143aab6c084331de0a2fadc3ae0d94.zip
Rollup merge of #130131 - Zalathar:up-to-date, r=Kobzol
Print a helpful message if any tests were skipped for being up-to-date

When running tests without the `--force-rerun` flag, compiletest will automatically skip any tests that (in its judgement) don't need to be run again since the last time they were run.

This is normally very useful, but can occasionally be confusing, especially in edge-cases where up-to-date checking is not completely accurate (or the test is flaky).

This PR makes bootstrap count the number of tests that were ignored for being up-to-date (via a hard-coded check on the ignore reason), and prints a helpful message when that number is nonzero.

---

Sample output:

```text
test result: ok. 4 passed; 0 failed; 17578 ignored; 0 measured; 0 filtered out; finished in 463.79ms

help: ignored 17295 up-to-date tests; use `--force-rerun` to prevent this

Build completed successfully in 0:00:07
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions