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
723682ff
Unverified
Commit
723682ff
authored
Aug 25, 2014
by
boklm
Browse files
Only diff time for tests which have been run
parent
b0bfc9fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
TBBTestSuite/BrowserUnitTests.pm
View file @
723682ff
...
...
@@ -111,7 +111,9 @@ sub diff_results {
my
$r2t
=
tests_by_name
(
$r2
->
{
tests
});
foreach
my
$test
(
keys
%$r2t
)
{
my
(
$t1
,
$t2
)
=
(
$r1t
->
{
$test
},
$r2t
->
{
$test
});
$res
{
tests_time
}
->
{
$test
}
=
$t2
->
{
run_time
}
-
$t1
->
{
run_time
};
if
(
defined
$t2
->
{
run_time
}
&&
defined
$t1
->
{
run_time
})
{
$res
{
tests_time
}
->
{
$test
}
=
$t2
->
{
run_time
}
-
$t1
->
{
run_time
};
}
next
unless
defined
$t1
->
{
results
};
next
unless
defined
$t2
->
{
results
};
if
(
!
$t2
->
{
results
}{
success
}
&&
$t1
->
{
results
}{
success
})
{
...
...
Write
Preview
Supports
Markdown
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