зеркало из https://github.com/mozilla/gecko-dev.git
Adding Xpcom Glue test, a=dougt. -mcafee
This commit is contained in:
Родитель
8b8efe3571
Коммит
3ae62b8da3
|
@ -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.197 $ ';
|
||||
$::UtilsVersion = '$Revision: 1.198 $ ';
|
||||
|
||||
package TinderUtils;
|
||||
|
||||
|
@ -1553,10 +1553,18 @@ sub run_all_tests {
|
|||
and $test_result eq 'success') {
|
||||
$test_result =
|
||||
FileBasedTest("DomToTextConversionTest", $build_dir, $binary_dir,
|
||||
["perl", "TestOutSinks.pl"], $Settings::DomTestTimeout,
|
||||
["perl TestOutSinks.pl"], $Settings::DomTestTimeout,
|
||||
"FAILED", 0, 0); # Timeout means failure.
|
||||
}
|
||||
|
||||
# XpcomGlue test
|
||||
if ($Settings::XpcomGlueTest and $test_result eq 'success') {
|
||||
$test_result =
|
||||
FileBasedTest("XpcomGlueTest", $build_dir, $binary_dir,
|
||||
["nsTestSample"], $Settings::DomTestTimeout,
|
||||
"Test passed", 1, 0); # Timeout means failure.
|
||||
}
|
||||
|
||||
|
||||
# Codesize test. Needed to do by hand:
|
||||
#
|
||||
|
|
|
@ -28,6 +28,7 @@ $ViewerTest = 0;
|
|||
$BloatTest = 0;
|
||||
$BloatTest2 = 0;
|
||||
$DomToTextConversionTest = 0;
|
||||
$XpcomGlueTest = 1;
|
||||
$CodesizeTest = 0;
|
||||
$MailBloatTest = 0;
|
||||
$EmbedTest = 0; # Assumes you wanted $BuildEmbed=1
|
||||
|
@ -54,6 +55,7 @@ $BloatTestTimeout = 120; # seconds
|
|||
$MailBloatTestTimeout = 120; # seconds
|
||||
$JavaTestTimeout = 45;
|
||||
$DomTestTimeout = 45; # seconds
|
||||
$XpcomGlueTestTimeout = 15;
|
||||
$CodesizeTestTimeout = 900; # seconds
|
||||
$LayoutPerformanceTestTimeout = 1200; # entire test, seconds
|
||||
$QATestTimeout = 1200; # entire test, seconds
|
||||
|
|
Загрузка…
Ссылка в новой задаче