зеркало из https://github.com/mozilla/pjs.git
trying a version that can test tip as default for tinderbox and 341
as default for nightly QA
This commit is contained in:
Родитель
9297abf963
Коммит
323d14311b
|
@ -570,7 +570,7 @@ init_dirs()
|
||||||
if [ -z "${BCDIST}" ] ; then
|
if [ -z "${BCDIST}" ] ; then
|
||||||
#BCDIST=/share/builds/mccrel3/nss/${BC_MASTER}/mozilla/dist
|
#BCDIST=/share/builds/mccrel3/nss/${BC_MASTER}/mozilla/dist
|
||||||
BCDIST=${NSS_VER_DIR}/../${BC_MASTER}/mozilla/dist
|
BCDIST=${NSS_VER_DIR}/../${BC_MASTER}/mozilla/dist
|
||||||
if [ ! -d $BCDIST ] ; then
|
if [ ! -d $BCDIST -a `basename $0` != jssqa ] ; then
|
||||||
ask "Backward compatibility directory $BCDIST does not exist, continue" "y" "n" || Exit
|
ask "Backward compatibility directory $BCDIST does not exist, continue" "y" "n" || Exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -602,7 +602,7 @@ init_dirs()
|
||||||
TESTSCRIPTDIR=${MOZILLA_ROOT}/security/nss/tests
|
TESTSCRIPTDIR=${MOZILLA_ROOT}/security/nss/tests
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d $TESTSCRIPTDIR ] ; then
|
if [ ! -d $TESTSCRIPTDIR -a `basename $0` != jssqa ] ; then
|
||||||
if [ "$O_WIN" = "ON" -a "$WIN_WAIT_FOREVER" = "ON" ]
|
if [ "$O_WIN" = "ON" -a "$WIN_WAIT_FOREVER" = "ON" ]
|
||||||
then
|
then
|
||||||
WaitForever $TESTSCRIPTDIR/all.sh 1
|
WaitForever $TESTSCRIPTDIR/all.sh 1
|
||||||
|
@ -871,23 +871,21 @@ eval_opts()
|
||||||
-*)
|
-*)
|
||||||
glob_usage "Error: Can't handle option $1"
|
glob_usage "Error: Can't handle option $1"
|
||||||
;;
|
;;
|
||||||
?*)
|
tip|3.|3..)
|
||||||
NSSVER=$1
|
NSSVER=$1
|
||||||
if [ -z "$NSSVER" ]
|
if [ -z "$NSSVER" ] ; then
|
||||||
then
|
glob_usage "Error: illegal parameter"
|
||||||
NSSVER="tip"
|
|
||||||
Debug "NSS Version: Parameters missing - defaulting to tip!"
|
|
||||||
else
|
|
||||||
BUILDDATE=$2
|
|
||||||
if [ -z "$BUILDDATE" ]
|
|
||||||
then
|
|
||||||
BUILDDATE=`date +%m%d`
|
|
||||||
Debug "Builddate: Parameters missing - defaulting to today!"
|
|
||||||
else
|
|
||||||
shift
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
[01][0-9][0123][0-9])
|
||||||
|
BUILDDATE=$1
|
||||||
|
if [ -z "$BUILDDATE" ] ; then
|
||||||
|
glob_usage "Error: illegal parameter"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
?*)
|
||||||
|
glob_usage "Error: Can't handle parameter $1"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
@ -895,17 +893,18 @@ eval_opts()
|
||||||
if [ -z "$PORT" -a "$O_TBX" = "ON" ] ; then
|
if [ -z "$PORT" -a "$O_TBX" = "ON" ] ; then
|
||||||
PORT=8444
|
PORT=8444
|
||||||
export PORT
|
export PORT
|
||||||
|
if [ -z "$NSSVER" ] ; then
|
||||||
|
NSSVER="tip"
|
||||||
|
Debug "NSS Version: Parameters missing - defaulting to tip!"
|
||||||
|
fi
|
||||||
|
elif [ -z "$NSSVER" ] ; then
|
||||||
|
NSSVER="341"
|
||||||
|
Debug "NSS Version: Parameters missing - defaulting to 341!"
|
||||||
fi
|
fi
|
||||||
if [ -z "$BUILDDATE" ]
|
if [ -z "$BUILDDATE" ] ; then
|
||||||
then
|
|
||||||
BUILDDATE=`date +%m%d`
|
BUILDDATE=`date +%m%d`
|
||||||
Debug "Builddate: Parameters missing - defaulting to today!"
|
Debug "Builddate: Parameters missing - defaulting to today!"
|
||||||
fi
|
fi
|
||||||
if [ -z "$NSSVER" ]
|
|
||||||
then
|
|
||||||
NSSVER="tip"
|
|
||||||
Debug "NSS Version: Parameters missing - defaulting to tip!"
|
|
||||||
fi
|
|
||||||
|
|
||||||
Debug "Builddate $BUILDDATE NssVersion $NSSVER"
|
Debug "Builddate $BUILDDATE NssVersion $NSSVER"
|
||||||
export BUILDDATE NSSVER
|
export BUILDDATE NSSVER
|
||||||
|
|
Загрузка…
Ссылка в новой задаче