Unverified Commit bf698386 authored by boklm's avatar boklm
Browse files

mozmill: fail test if no test is passed

Rather than only checking that no test is failed.
parent 562069d6
......@@ -493,7 +493,8 @@ sub mozmill_run {
$test->{results} = decode_json(read_file($results_file));
$test->{results}{success} = !$test->{results}{results}->[0]->{failed};
$test->{results}{success} = $test->{results}{results}->[0]->{passed} ?
!$test->{results}{results}->[0]->{failed} : 0;
check_opened_connections($tbbinfos, $test);
check_modified_files($tbbinfos, $test);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment