no more OUT_DIR (#5139)

* no more OUT_DIR

* no more OUT_DIR

* more information about failure
This commit is contained in:
Rob Walker
2019-07-17 14:27:58 -07:00
committed by GitHub
parent 0ffd91df27
commit 027ebb6670
9 changed files with 14 additions and 10 deletions

View File

@ -789,7 +789,7 @@ mod tests {
fn get_tmp_accounts_path(paths: &str) -> TempPaths {
let vpaths = get_paths_vec(paths);
let out_dir = std::env::var("OUT_DIR").unwrap_or_else(|_| "farf".to_string());
let out_dir = std::env::var("FARF_DIR").unwrap_or_else(|_| "farf".to_string());
let vpaths: Vec<_> = vpaths
.iter()
.map(|path| format!("{}/{}", out_dir, path))