зеркало из https://github.com/mozilla/pjs.git
bug 304162 integrate necko tests into tinderbox
r=chase
This commit is contained in:
Родитель
639a541a6e
Коммит
6a7a45daeb
|
@ -24,7 +24,7 @@ use Config; # for $Config{sig_name} and $Config{sig_num}
|
|||
use File::Find ();
|
||||
use File::Copy;
|
||||
|
||||
$::UtilsVersion = '$Revision: 1.299 $ ';
|
||||
$::UtilsVersion = '$Revision: 1.300 $ ';
|
||||
|
||||
package TinderUtils;
|
||||
|
||||
|
@ -1991,6 +1991,13 @@ sub run_all_tests {
|
|||
$app_args,
|
||||
"file://$startup_build_dir/../startup-test.html");
|
||||
}
|
||||
if ($Settings::NeckoUnitTest and $test_result eq 'success') {
|
||||
$test_result = FileBasedTest("Necko unit tests",
|
||||
$build_dir, $binary_dir,
|
||||
["necko_unit_tests/test_all.sh"],
|
||||
$Settings::NeckoUnitTestTimeout,
|
||||
"FAIL", 0, 0);
|
||||
}
|
||||
return $test_result;
|
||||
}
|
||||
|
||||
|
|
|
@ -67,6 +67,7 @@ $DHTMLPerformanceTest = 0; # Tdhtml
|
|||
$QATest = 0;
|
||||
$XULWindowOpenTest = 0; # Txul
|
||||
$StartupPerformanceTest = 0; # Ts
|
||||
$NeckoUnitTest = 1;
|
||||
@CompareLocaleDirs = (); # Run compare-locales test on these directories
|
||||
# ("network","dom","toolkit","security/manager");
|
||||
$CompareLocalesAviary = 0; # Should the compare-locales commands use the
|
||||
|
@ -106,6 +107,7 @@ $DHTMLPerformanceTestTimeout = 1200; # entire test, seconds
|
|||
$QATestTimeout = 1200; # entire test, seconds
|
||||
$LayoutPerformanceTestPageTimeout = 30000; # each page, ms
|
||||
$StartupPerformanceTestTimeout = 15; # seconds
|
||||
$NeckoUnitTestTimeout = 30; # seconds
|
||||
$XULWindowOpenTestTimeout = 150; # seconds
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче