We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c59a81 commit a5ba752Copy full SHA for a5ba752
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