Mention COMPILETEST_VERBOSE_CRASHES
on crash test failure
This commit is contained in:
parent
4cbfcf1b7f
commit
50729fe6ca
@ -15,10 +15,11 @@ pub(super) fn run_crash_test(&self) {
|
|||||||
// if a test does not crash, consider it an error
|
// if a test does not crash, consider it an error
|
||||||
if proc_res.status.success() || matches!(proc_res.status.code(), Some(1 | 0)) {
|
if proc_res.status.success() || matches!(proc_res.status.code(), Some(1 | 0)) {
|
||||||
self.fatal(&format!(
|
self.fatal(&format!(
|
||||||
"crashtest no longer crashes/triggers ICE, horray! Please give it a meaningful name, \
|
"crashtest no longer crashes/triggers ICE, horray! Please give it a meaningful \
|
||||||
add a doc-comment to the start of the test explaining why it exists and \
|
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 \
|
move it to tests/ui or wherever you see fit. Adding 'Fixes #<issueNr>' to your PR \
|
||||||
ensures that the corresponding ticket is auto-closed upon merge."
|
description ensures that the corresponding ticket is auto-closed upon merge. \
|
||||||
|
If you want to see verbose output, set `COMPILETEST_VERBOSE_CRASHES=1`."
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user