We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cca2f5 commit 51847e3Copy full SHA for 51847e3
src/tools/compiletest/src/header.rs
@@ -396,6 +396,13 @@ impl TestProps {
396
}
397
});
398
399
+ if self.failure_status == -1 {
400
+ self.failure_status = match config.mode {
401
+ Mode::RunFail => 101,
402
+ _ => 1,
403
+ };
404
+ }
405
+
406
for key in &["RUST_TEST_NOCAPTURE", "RUST_TEST_THREADS"] {
407
if let Ok(val) = env::var(key) {
408
if self.exec_env.iter().find(|&&(ref x, _)| x == key).is_none() {
0 commit comments