mirror of
https://github.com/servo/servo.git
synced 2025-07-02 21:13:39 +01:00
Enable checks for reftest exit status.
This commit is contained in:
parent
99f24fbd40
commit
37b867b997
1 changed files with 4 additions and 4 deletions
|
@ -122,13 +122,13 @@ fn check_reftest(reftest: Reftest) {
|
|||
|
||||
let args = ~[~"-o", left_filename.clone(), reftest.left.clone()];
|
||||
let mut process = Process::new("./servo", args, ProcessOptions::new()).unwrap();
|
||||
let _retval = process.finish();
|
||||
// assert!(retval == 0);
|
||||
let retval = process.finish();
|
||||
assert!(retval == ExitStatus(0));
|
||||
|
||||
let args = ~[~"-o", right_filename.clone(), reftest.right.clone()];
|
||||
let mut process = Process::new("./servo", args, ProcessOptions::new()).unwrap();
|
||||
let _retval = process.finish();
|
||||
// assert!(retval == 0);
|
||||
let retval = process.finish();
|
||||
assert!(retval == ExitStatus(0));
|
||||
|
||||
// check the pngs are bit equal
|
||||
let args = ~[left_filename.clone(), right_filename.clone()];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue