From 2d3e1f103563afe8599e29c91a4f82ff276686ca Mon Sep 17 00:00:00 2001 From: root Date: Fri, 3 Aug 2007 09:54:25 +0000 Subject: [PATCH] add the url of the latest build directory like an argument to the test frame work --- scripts/nightly-build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.2