From: root Date: Fri, 3 Aug 2007 09:54:25 +0000 (+0000) Subject: add the url of the latest build directory like an argument to the test frame work X-Git-Tag: foo~436 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2d3e1f103563afe8599e29c91a4f82ff276686ca;p=infrastructure.git add the url of the latest build directory like an argument to the test frame work --- diff --git a/scripts/nightly-build.sh b/scripts/nightly-build.sh index 3b234b8..cc0fd21 100755 --- a/scripts/nightly-build.sh +++ b/scripts/nightly-build.sh @@ -118,7 +118,7 @@ function runtest () { cd $build rpm=$(find RPMS -name myplc\*.rpm ) url=${TESTBUILDURL}${DISTRO}/${buildname}/${rpm} - + latestbuild=${TESTBUILDURL}${DISTRO}/${buildname}/ ### checkout the test material svn co ${TESTSVNPATH} plctest # compute test directory name on test box @@ -127,7 +127,7 @@ function runtest () { ssh ${TESTBOXSSH} mkdir -p ${testdir} rsync -a -v plctest/ ${TESTBOXSSH}:${testdir} # invoke test on testbox - ssh ${TESTBOXSSH} python -u ${testdir}/${TESTSCRIPT} ${url} + ssh ${TESTBOXSSH} python -u ${testdir}/${TESTSCRIPT} ${url} ${latestbuild} if [ "$?" != 0 ] ; then failure fi