changed tinderbox version so the files get written to a permanent directory

rather than the tinderbox area, and can later be inspected
This commit is contained in:
sonmi%netscape.com 2001-05-17 21:50:52 +00:00
Родитель 2d02700485
Коммит 1a9d6a8ac7
1 изменённых файлов: 16 добавлений и 1 удалений

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

@ -252,6 +252,7 @@ set_d2()
tbx_dirs() tbx_dirs()
{ {
Debug "Set directories for tinderbox"
TBX_D2=`cd ../../../../..;pwd` TBX_D2=`cd ../../../../..;pwd`
D1="${TBX_D2}/../.." D1="${TBX_D2}/../.."
set_d2 set_d2
@ -263,8 +264,22 @@ tbx_dirs()
NTDIST=${UXDIST} NTDIST=${UXDIST}
if [ -z "${RESULTDIR}" ] ; then #FIXME, needs to be different for tinderbox if [ -z "${RESULTDIR}" ] ; then #FIXME, needs to be different for tinderbox
RESULTDIR=${UX_MASTERDIR}/mozilla/tests_results/security Debug "Setting RESULTDIR for tinderbox"
RESULTDIR="/h/hs-sca15c/export/builds/mccrel/nss/nsstip/tinderbox/tests_results/security/${HOST}-`date +%Y%m%d-%H:%M`"
#RESULTDIR=${UX_MASTERDIR}/mozilla/tests_results/security
fi fi
if [ -z "${TESTDIR}" ] ; then
Debug "Setting TESTDIR for tinderbox"
TESTDIR=${RESULTDIR}
fi
if [ -n "$TESTDIR" ] ; then
if [ ! -d $TESTDIR ] ; then
Debug "Making TESTDIR for tinderbox"
mkdir -p $TESTDIR
fi
fi
export TESTDIR
Debug "RESULTDIR $RESULTDIR TESTDIR $TESTDIR"
TESTSCRIPTDIR=`pwd` TESTSCRIPTDIR=`pwd`
COMMON=${TESTSCRIPTDIR}/common COMMON=${TESTSCRIPTDIR}/common