We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3fe4dd2 + a5ba752 commit 99cb9ccCopy full SHA for 99cb9cc
src/tools/compiletest/src/main.rs
@@ -347,7 +347,10 @@ pub fn run_tests(config: Config) {
347
Ok(true) => {}
348
Ok(false) => panic!("Some tests failed"),
349
Err(e) => {
350
- println!("I/O failure during tests: {:?}", e);
+ // We don't know if tests passed or not, but if there was an error
351
+ // during testing we don't want to just suceeed (we may not have
352
+ // tested something), so fail.
353
+ panic!("I/O failure during tests: {:?}", e);
354
}
355
356
0 commit comments