GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

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 {
$i++;
}
$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