mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make build system more independent of current directory.
This commit is contained in:
parent
ff4877b473
commit
cc4ea7507f
8 changed files with 14 additions and 9 deletions
|
@ -248,7 +248,7 @@ fn make_test(reftest: Reftest) -> TestDescAndFn {
|
|||
|
||||
fn capture(reftest: &Reftest, side: uint) -> (u32, u32, Vec<u8>) {
|
||||
let png_filename = format!("/tmp/servo-reftest-{:06u}-{:u}.png", reftest.id, side);
|
||||
let mut command = Command::new("components/servo/target/servo");
|
||||
let mut command = Command::new(os::self_exe_path().unwrap().join("servo"));
|
||||
command
|
||||
.args(reftest.servo_args.as_slice())
|
||||
// Allows pixel perfect rendering of Ahem font for reftests.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue