Browse Source
Merge pull request #411 from spl/tempdir-in
Create temp dir in same dir as gcc-shim
urgh
Alex Crichton
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
tests/support/mod.rs
|
|
@ -26,9 +26,10 @@ impl Test { |
|
|
|
if gcc.ends_with("deps") { |
|
|
|
gcc.pop(); |
|
|
|
} |
|
|
|
let td = TempDir::new_in(&gcc, "gcc-test").unwrap(); |
|
|
|
gcc.push(format!("gcc-shim{}", env::consts::EXE_SUFFIX)); |
|
|
|
Test { |
|
|
|
td: TempDir::new("gcc-test").unwrap(), |
|
|
|
td: td, |
|
|
|
gcc: gcc, |
|
|
|
msvc: false, |
|
|
|
} |
|
|
|