Skip to content

Commit f239318

Browse files
committed
WIP debugging what is going wrong with CI's attempt to run the test.
1 parent 3e8a932 commit f239318

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/common/command_invocation.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
use std::fs;
12
use std::path::Path;
23
use std::process::{Command, ExitStatus};
34

@@ -19,9 +20,11 @@ impl<'a> Context<'a> {
1920
command.arg(param);
2021
}
2122
let dir = self.dir;
23+
fs::create_dir_all(dir)?;
2224
println!("running `cargo-bisect-rustc {}` in {:?}",
2325
self.cli_params.join(" "),
2426
dir.display());
27+
assert!(dir.exists());
2528
let output = command.current_dir(dir).output()?;
2629

2730
let stderr = String::from_utf8_lossy(&output.stderr);

0 commit comments

Comments
 (0)