mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
auto merge of #1965 : jdm/servo/harnessfix, r=Ms2ger
This commit is contained in:
commit
de67069b0a
2 changed files with 4 additions and 2 deletions
|
@ -31,7 +31,8 @@ fn main() {
|
|||
let opts = test_options(config.clone());
|
||||
let tests = find_tests(config);
|
||||
match run_tests_console(&opts, tests) {
|
||||
Err(_) => os::set_exit_status(1),
|
||||
Ok(false) => os::set_exit_status(1), // tests failed
|
||||
Err(_) => os::set_exit_status(2), // I/O-related failure
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,7 +45,8 @@ fn main() {
|
|||
};
|
||||
|
||||
match run_tests_console(&test_opts, tests) {
|
||||
Err(_) => os::set_exit_status(1),
|
||||
Ok(false) => os::set_exit_status(1), // tests failed
|
||||
Err(_) => os::set_exit_status(2), // I/O-related failure
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue