Adding parameter for auto or base summary runs of codesize test. -mcafee

This commit is contained in:
cltbld%netscape.com 2002-12-25 00:11:20 +00:00
parent dfad9c362b
commit 0212b900be
2 changed files with 12 additions and 3 deletions

View File

@ -22,7 +22,7 @@ use File::Path; # for rmtree();
use Config; # for $Config{sig_name} and $Config{sig_num}
use File::Find ();
$::UtilsVersion = '$Revision: 1.203 $ ';
$::UtilsVersion = '$Revision: 1.204 $ ';
package TinderUtils;
@ -1606,11 +1606,19 @@ sub run_all_tests {
unlink("$build_dir/$diff_log");
unlink("$build_dir/$test_log");
my $bash_cmd;
if ($Settings::OS =~ /^WIN/) {
$bash_cmd = $Settings::CodesizeTestType . "summary.win.bash";
} else {
# Assume Linux for non-windows for now.
$bash_cmd = $Settings::CodesizeTestType . "summary.win.bash";
}
my $test_result =
FileBasedTest($test_name,
"$build_dir",
"$build_dir", # run top of tree, not in dist.
["autosummary.linux.bash $args"],
["basesummary.linux.bash $args"], # auto|base
$Settings::CodesizeTestTimeout,
"FAILED", # Fake out failure mode, test file instead.
0, 0); # Timeout means failure.

View File

@ -55,7 +55,8 @@ $MailBloatTestTimeout = 120; # seconds
$JavaTestTimeout = 45;
$DomTestTimeout = 45; # seconds
$XpcomGlueTestTimeout = 15;
$CodesizeTestTimeout = 900; # seconds
$CodesizeTestTimeout = 900; # seconds
$CodesizeTestType = "auto"; # {"auto"|"base"}
$LayoutPerformanceTestTimeout = 1200; # entire test, seconds
$QATestTimeout = 1200; # entire test, seconds
$LayoutPerformanceTestPageTimeout = 30000; # each page, ms