mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Fix contenttest harness build errors.
This commit is contained in:
parent
f89cbef187
commit
e428c954aa
1 changed files with 4 additions and 3 deletions
|
@ -54,8 +54,9 @@ fn test_options(config: Config) -> TestOpts {
|
||||||
run_ignored: false,
|
run_ignored: false,
|
||||||
run_tests: true,
|
run_tests: true,
|
||||||
run_benchmarks: false,
|
run_benchmarks: false,
|
||||||
save_results: None,
|
ratchet_metrics: None,
|
||||||
compare_results: None,
|
ratchet_noise_percent: None,
|
||||||
|
save_metrics: None,
|
||||||
logfile: None
|
logfile: None
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -84,7 +85,7 @@ fn run_test(file: ~str) {
|
||||||
let out = str::from_bytes(res.output);
|
let out = str::from_bytes(res.output);
|
||||||
io::print(out);
|
io::print(out);
|
||||||
let lines: ~[&str] = out.split_iter('\n').collect();
|
let lines: ~[&str] = out.split_iter('\n').collect();
|
||||||
for lines.iter().advance |&line| {
|
for &line in lines.iter() {
|
||||||
if line.contains("TEST-UNEXPECTED-FAIL") {
|
if line.contains("TEST-UNEXPECTED-FAIL") {
|
||||||
fail!(line);
|
fail!(line);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue