mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
More target path fixup.
This commit is contained in:
parent
9bbc633ced
commit
e1c2210c23
1 changed files with 2 additions and 1 deletions
|
@ -112,7 +112,8 @@ fn run(test_opts: TestOpts, all_tests: Vec<TestDescAndFn>,
|
||||||
// Verify that we're passing in valid servo arguments. Otherwise, servo
|
// Verify that we're passing in valid servo arguments. Otherwise, servo
|
||||||
// will exit before we've run any tests, and it will appear to us as if
|
// will exit before we've run any tests, and it will appear to us as if
|
||||||
// all the tests are failing.
|
// all the tests are failing.
|
||||||
let mut command = match Command::new("target/servo").args(servo_args.as_slice()).spawn() {
|
let mut command = match Command::new(os::self_exe_path().unwrap().join("servo"))
|
||||||
|
.args(servo_args.as_slice()).spawn() {
|
||||||
Ok(p) => p,
|
Ok(p) => p,
|
||||||
Err(e) => panic!("failed to execute process: {}", e),
|
Err(e) => panic!("failed to execute process: {}", e),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue