Skip to content

Commit

Permalink
Unrolled build for rust-lang#130793
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#130793 - jieyouxu:mention-crashes-verbose, r=matthiaskrgr

Mention `COMPILETEST_VERBOSE_CRASHES` on crash test failure

Fixes rust-lang#130776.

r? `@matthiaskrgr` (or compiler/bootstrap)
  • Loading branch information
rust-timer authored Sep 25, 2024
2 parents 3f99982 + 50729fe commit 239fcf6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/tools/compiletest/src/runtest/crash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ impl TestCx<'_> {
// if a test does not crash, consider it an error
if proc_res.status.success() || matches!(proc_res.status.code(), Some(1 | 0)) {
self.fatal(&format!(
"crashtest no longer crashes/triggers ICE, horray! Please give it a meaningful name, \
add a doc-comment to the start of the test explaining why it exists and \
move it to tests/ui or wherever you see fit. Adding 'Fixes #<issueNr>' to your PR description \
ensures that the corresponding ticket is auto-closed upon merge."
"crashtest no longer crashes/triggers ICE, horray! Please give it a meaningful \
name, add a doc-comment to the start of the test explaining why it exists and \
move it to tests/ui or wherever you see fit. Adding 'Fixes #<issueNr>' to your PR \
description ensures that the corresponding ticket is auto-closed upon merge. \
If you want to see verbose output, set `COMPILETEST_VERBOSE_CRASHES=1`."
));
}
}
Expand Down

0 comments on commit 239fcf6

Please sign in to comment.