Check for OS type and accordingly reflect  mozilla executable name
This commit is contained in:
rpallath%eng.sun.com 2000-09-05 20:57:20 +00:00
Родитель f7e0e35410
Коммит a73b3fd4fb
1 изменённых файлов: 14 добавлений и 8 удалений

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

@ -47,13 +47,23 @@ use File::Copy;
# #
########################
#Mozilla's executable
$MOZILLA_EXECUTABLE="mozilla.exe";
#sometimes we need to specify additional parameters for mozilla
$ADDITIONAL_PARAMETERS="-P mozProfile";
# time in seconds after which the apprunner has to be killed.
# by default the apprunner will be up for so much time regardless of
# whether over or not. User can either decrease it or increase it.
#
$DELAY_FACTOR = 30;
#Mozilla's executable
$MOZILLA_EXECUTABLE="mozilla-bin";
if ($^O =~ /Win32/i) {
$MOZILLA_EXECUTABLE="mozilla.exe";
}
$FULL_TEST_LIST="OJITestsList.lst";
$TEST_RESULTS="OJITestResults.txt";
@ -63,11 +73,6 @@ $TARGET_WINDOW="Test Descriptions";
$DEFAULT_TEST_URL="http://shiva:10001/oji";
# time in seconds after which the apprunner has to be killed.
# by default the apprunner will be up for so much time regardless of
# whether over or not. User can either decrease it or increase it.
#
$DELAY_FACTOR = 30;
# time period in seconds of periodically checking: is the apprunner still alive
$DELAY_OF_CYCLE = 1;
@ -424,6 +429,7 @@ sub RunTestCaseUnix {
title;
$curdir = cwd();
$ret=`mkdir -p $curdir/log`;
# Prepare file names
$LOGFILE = "$curdir/log/BWTestRun.log";