зеркало из https://github.com/mozilla/pjs.git
parameterizing pageload server
This commit is contained in:
Родитель
ae1b90ffd8
Коммит
4171462c22
|
@ -21,7 +21,7 @@ use File::Basename; # for basename();
|
||||||
use Config; # for $Config{sig_name} and $Config{sig_num}
|
use Config; # for $Config{sig_name} and $Config{sig_num}
|
||||||
|
|
||||||
|
|
||||||
$::UtilsVersion = '$Revision: 1.138 $ ';
|
$::UtilsVersion = '$Revision: 1.139 $ ';
|
||||||
|
|
||||||
package TinderUtils;
|
package TinderUtils;
|
||||||
|
|
||||||
|
@ -1024,7 +1024,7 @@ sub run_all_tests {
|
||||||
# load tests instead of hard-coding to localhost.
|
# load tests instead of hard-coding to localhost.
|
||||||
$test_result =
|
$test_result =
|
||||||
FileBasedTest("LayoutPerformanceTest", $build_dir, $binary_dir,
|
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,
|
$Settings::LayoutPerformanceTestTimeout,
|
||||||
"_x_x_mozilla_page_load", 1, 0);
|
"_x_x_mozilla_page_load", 1, 0);
|
||||||
|
|
||||||
|
@ -1035,7 +1035,7 @@ sub run_all_tests {
|
||||||
print_log "TinderboxPrint:Tp:[CRASH]\n";
|
print_log "TinderboxPrint:Tp:[CRASH]\n";
|
||||||
$test_result =
|
$test_result =
|
||||||
FileBasedTest("LayoutPerformanceTest", $build_dir, $binary_dir,
|
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,
|
$Settings::LayoutPerformanceTestTimeout,
|
||||||
"_x_x_mozilla_page_load", 1, 0);
|
"_x_x_mozilla_page_load", 1, 0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,7 @@ $StartupPerformanceTest = 0;
|
||||||
|
|
||||||
$TestsPhoneHome = 0; # Should test report back to server?
|
$TestsPhoneHome = 0; # Should test report back to server?
|
||||||
$results_server = "tegu.mozilla.org";
|
$results_server = "tegu.mozilla.org";
|
||||||
|
$pageload_server = "10.169.115.168"; # localhost
|
||||||
|
|
||||||
#
|
#
|
||||||
# Timeouts, values are in seconds.
|
# Timeouts, values are in seconds.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче