CreateProfile() is no longer needed. mozilla creates the 'default' profile if none exists.

This commit is contained in:
slamm%netscape.com 2000-05-08 23:34:50 +00:00
Родитель 644b374850
Коммит d9c448176b
2 изменённых файлов: 8 добавлений и 7 удалений

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

@ -18,7 +18,7 @@ use POSIX qw(sys_wait_h strftime);
use Cwd;
use File::Basename; # for basename();
use Config; # for $Config{sig_name} and $Config{sig_num}
$::UtilsVersion = '$Revision: 1.18 $ ';
$::UtilsVersion = '$Revision: 1.19 $ ';
package TinderUtils;
@ -599,11 +599,12 @@ sub run_tests {
# The mailnews test also adds a couple preferences to it.
my $pref_file = "$build_dir/.mozilla/$Settings::MozProfileName/prefs.js";
unless (-f $pref_file) {
print_log "Prefs file not found: $pref_file\n";
print_log "Creating profile...\n";
$test_result = CreateProfile($build_dir, $binary, $pref_file, 45);
}
# Mozilla now create the "default" profile if none exists. -slamm 5-8-00
#unless (-f $pref_file) {
# print_log "Prefs file not found: $pref_file\n";
# print_log "Creating profile...\n";
# $test_result = CreateProfile($build_dir, $binary, $pref_file, 45);
#}
# Mozilla alive test
#

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

@ -21,7 +21,7 @@ $BloatTest = 0;
$DomToTextConversionTest = 0;
$MailNewsTest = 0;
$MozConfigFileName = 'mozconfig';
$MozProfileName = 'mozProfile';
$MozProfileName = 'default';
#- Set these to what makes sense for your system
$Make = 'gmake'; # Must be GNU make