From: root Date: Fri, 3 Aug 2007 15:21:53 +0000 (+0000) Subject: run the make install one the right PLCHOST from the nightly-build X-Git-Tag: foo~432 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=de9dcb7d11f9bd7df2f4f85a35a98f33c7d7474c;p=infrastructure.git run the make install one the right PLCHOST from the nightly-build --- diff --git a/scripts/nightly-build.sh b/scripts/nightly-build.sh index cc0fd21..d4c7f91 100755 --- a/scripts/nightly-build.sh +++ b/scripts/nightly-build.sh @@ -118,7 +118,6 @@ 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 +126,9 @@ function runtest () { ssh ${TESTBOXSSH} mkdir -p ${testdir} rsync -a -v plctest/ ${TESTBOXSSH}:${testdir} # invoke test on testbox - ssh ${TESTBOXSSH} python -u ${testdir}/${TESTSCRIPT} ${url} ${latestbuild} + ssh ${TESTBOXSSH} python -u ${testdir}/${TESTSCRIPT} ${url} + #invoke make install from build to the testbox + ## (echo "cd build/${DISTRO}/${buildname}/ && make install PLCHOST=${TESTBOXSSH}") | chroot /plc/devel/root if [ "$?" != 0 ] ; then failure fi