mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
parameterizing pageload server
This commit is contained in:
parent
062172ca37
commit
d43398fc65
@ -21,7 +21,7 @@ use File::Basename; # for basename();
|
||||
use Config; # for $Config{sig_name} and $Config{sig_num}
|
||||
|
||||
|
||||
$::UtilsVersion = '$Revision: 1.138 $ ';
|
||||
$::UtilsVersion = '$Revision: 1.139 $ ';
|
||||
|
||||
package TinderUtils;
|
||||
|
||||
@ -1024,7 +1024,7 @@ sub run_all_tests {
|
||||
# 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=$Settings::LayoutPerformanceTestPageTimeout&auto=1\"",
|
||||
$binary . " -P $Settings::MozProfileName \"http://$Settings::pageload_server/page-loader/loader.pl?delay=1000&nocache=0&maxcyc=4&timeout=$Settings::LayoutPerformanceTestPageTimeout&auto=1\"",
|
||||
$Settings::LayoutPerformanceTestTimeout,
|
||||
"_x_x_mozilla_page_load", 1, 0);
|
||||
|
||||
@ -1035,7 +1035,7 @@ sub run_all_tests {
|
||||
print_log "TinderboxPrint:Tp:[CRASH]\n";
|
||||
$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=$Settings::LayoutPerformanceTestPageTimeout&auto=1\"",
|
||||
$binary . " -P $Settings::MozProfileName \"http://$Settings::pageload_server/page-loader/loader.pl?delay=1000&nocache=0&maxcyc=4&timeout=$Settings::LayoutPerformanceTestPageTimeout&auto=1\"",
|
||||
$Settings::LayoutPerformanceTestTimeout,
|
||||
"_x_x_mozilla_page_load", 1, 0);
|
||||
}
|
||||
|
@ -33,6 +33,7 @@ $StartupPerformanceTest = 0;
|
||||
|
||||
$TestsPhoneHome = 0; # Should test report back to server?
|
||||
$results_server = "tegu.mozilla.org";
|
||||
$pageload_server = "10.169.115.168"; # localhost
|
||||
|
||||
#
|
||||
# Timeouts, values are in seconds.
|
||||
|
Loading…
Reference in New Issue
Block a user