(cwd: &Path)
| 16 | static SERIAL: Mutex<()> = Mutex::new(()); |
| 17 | |
| 18 | fn codspeed_cmd(cwd: &Path) -> Command { |
| 19 | let mut cmd = Command::cargo_bin("codspeed").unwrap(); |
| 20 | cmd.current_dir(cwd); |
| 21 | cmd.env("CODSPEED_TOKEN", "test-token"); |
| 22 | cmd |
| 23 | } |
| 24 | |
| 25 | /// Create a bash script that validates CWD matches the expected absolute path. |
| 26 | fn write_cwd_check_script(path: &Path, expected_dir: &Path) { |