Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
tor-browser-bundle-testsuite
Commits
bf698386
Unverified
Commit
bf698386
authored
Oct 07, 2014
by
boklm
Browse files
mozmill: fail test if no test is passed
Rather than only checking that no test is failed.
parent
562069d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
TBBTestSuite/BrowserBundleTests.pm
View file @
bf698386
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment