Set BUILD_MAIL_SMOKETEST env variable if Settings::MailBloatTest=1, at build time, not run-test time.

This commit is contained in:
cltbld%netscape.com 2001-12-08 03:02:09 +00:00
parent 688dfedd6a
commit 189fe95617

View File

@ -20,7 +20,7 @@ use File::Basename; # for basename();
use Config; # for $Config{sig_name} and $Config{sig_num}
$::UtilsVersion = '$Revision: 1.108 $ ';
$::UtilsVersion = '$Revision: 1.109 $ ';
package TinderUtils;
@ -298,6 +298,11 @@ sub SetupEnv {
$ENV{DISPLAY} = $Settings::DisplayServer;
$ENV{MOZCONFIG} = "$Settings::BaseDir/$Settings::MozConfigFileName"
if $Settings::MozConfigFileName ne '' and -e $Settings::MozConfigFileName;
# Mail test needs build-time env set. -mcafee
if($Settings::MailBloatTest) {
$ENV{BUILD_MAIL_SMOKETEST} = "1";
}
}
sub SetupPath {