mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
oops, forgot a cowtools/localhost change. whitespace changes.
This commit is contained in:
parent
1f5f8776db
commit
6d41b117b4
@ -21,7 +21,7 @@ use File::Basename; # for basename();
|
||||
use Config; # for $Config{sig_name} and $Config{sig_num}
|
||||
|
||||
|
||||
$::UtilsVersion = '$Revision: 1.129 $ ';
|
||||
$::UtilsVersion = '$Revision: 1.130 $ ';
|
||||
|
||||
package TinderUtils;
|
||||
|
||||
@ -977,25 +977,25 @@ sub run_all_tests {
|
||||
# http://bugzilla.mozilla.org/show_bug.cgi?id=75073
|
||||
if ($Settings::LayoutPerformanceTest and $test_result eq 'success') {
|
||||
|
||||
# Settle OS.
|
||||
run_system_cmd("sync; sleep 10", 35);
|
||||
|
||||
# XXX we should use a variable to get the host for the page
|
||||
# load tests instead of hard-coding to localhost.
|
||||
$test_result =
|
||||
FileBasedTest("LayoutPerformanceTest", $build_dir, $binary_dir,
|
||||
$binary . " -P $Settings::MozProfileName \"http://localhost/page-loader/loader.pl?delay=1000&nocache=0&maxcyc=4&timeout=30000&auto=1\"",
|
||||
$Settings::LayoutPerformanceTestTimeout,
|
||||
"_x_x_mozilla_page_load", 1, 0);
|
||||
|
||||
# Settle OS.
|
||||
run_system_cmd("sync; sleep 10", 35);
|
||||
|
||||
# XXX we should use a variable to get the host for the page
|
||||
# load tests instead of hard-coding to localhost.
|
||||
$test_result =
|
||||
FileBasedTest("LayoutPerformanceTest", $build_dir, $binary_dir,
|
||||
$binary . " -P $Settings::MozProfileName \"http://localhost/page-loader/loader.pl?delay=1000&nocache=0&maxcyc=4&timeout=30000&auto=1\"",
|
||||
$Settings::LayoutPerformanceTestTimeout,
|
||||
"_x_x_mozilla_page_load", 1, 0);
|
||||
|
||||
# Run the test a second time. Getting intermittent crashes, these
|
||||
# are expensive to wait, a 2nd run that is successful is still useful.
|
||||
# Sorry for the cut & paste. -mcafee
|
||||
if($test_result eq 'testfailed') {
|
||||
print_log "TinderboxPrint:Tp:[CRASH]\n";
|
||||
$test_result =
|
||||
$test_result =
|
||||
FileBasedTest("LayoutPerformanceTest", $build_dir, $binary_dir,
|
||||
$binary . " -P $Settings::MozProfileName \"http://cowtools/page-loader/loader.pl?delay=1000&nocache=0&maxcyc=4&timeout=30000&auto=1\"",
|
||||
$binary . " -P $Settings::MozProfileName \"http://localhost/page-loader/loader.pl?delay=1000&nocache=0&maxcyc=4&timeout=30000&auto=1\"",
|
||||
$Settings::LayoutPerformanceTestTimeout,
|
||||
"_x_x_mozilla_page_load", 1, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user