mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Use headless mode for content tests
This commit is contained in:
parent
1b785f150c
commit
dcc697c8b1
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ fn run_test(file: ~str) {
|
|||
let path = os::make_absolute(&Path::new(file));
|
||||
// FIXME (#1094): not the right way to transform a path
|
||||
let infile = ~"file://" + path.display().to_str();
|
||||
let res = run::process_output("./servo", [infile]);
|
||||
let res = run::process_output("./servo", [~"-z", infile]);
|
||||
let out = str::from_utf8(res.output);
|
||||
io::print(out);
|
||||
let lines: ~[&str] = out.split_iter('\n').collect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue