parameterizing pageload server

This commit is contained in:
cltbld%netscape.com 2002-01-26 02:46:51 +00:00
parent 062172ca37
commit d43398fc65
2 changed files with 4 additions and 3 deletions

View File

@ -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);
}

View File

@ -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.