Make build system more independent of current directory.

This commit is contained in:
Simon Sapin 2014-12-02 14:33:23 -08:00
parent ff4877b473
commit cc4ea7507f
8 changed files with 14 additions and 9 deletions

View file

@ -99,7 +99,7 @@ fn run_test(file: String) {
let stderr = InheritFd(2);
let args = ["-z", "-f", infile.as_slice()];
let mut prc = match Command::new("components/servo/target/servo")
let mut prc = match Command::new(os::self_exe_path().unwrap().join("servo"))
.args(args)
.stdin(Ignored)
.stdout(stdout)