Only run mailnews test on depend builds. Clobber builds remove the dist directory and the special security prefs along with it.

This commit is contained in:
slamm%netscape.com 2000-02-24 21:14:52 +00:00
Родитель c66aafca3a
Коммит 0ed6acaa04
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -10,7 +10,7 @@ use Sys::Hostname;
use POSIX qw(sys_wait_h strftime);
use Cwd;
$Version = '$Revision: 1.61 $ ';
$Version = '$Revision: 1.62 $ ';
sub PrintUsage {
@ -273,8 +273,10 @@ sub BuildIt {
# first time around, you get two dialogs, which sets this pref:
# user_pref("security.principal.X0", "[Codebase http://www.mozilla.org/quality/mailnews/APITest.html] UniversalBrowserRead=1 UniversalXPConnect=1");
#
if ($BuildStatus == 0 and $MailNewsTest) {
# XXX MailNewsTest will not work for clobber builds because they
# trash the dist directory every time (where the pref is set)
if ($BuildStatus == 0 and $MailNewsTest and $BuildDepend) {
$BuildStatusStr = 'success';
print LOG "Running MailNewsTest ...\n";
print "Running MailNewsTest ...\n";