зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
2d02700485
Коммит
1a9d6a8ac7
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче