run the make install one the right PLCHOST from the nightly-build
authorroot <root@41d37cc5-eb28-0410-a9bf-d37491348ade>
Fri, 3 Aug 2007 15:21:53 +0000 (15:21 +0000)
committerroot <root@41d37cc5-eb28-0410-a9bf-d37491348ade>
Fri, 3 Aug 2007 15:21:53 +0000 (15:21 +0000)
scripts/nightly-build.sh

index cc0fd21..d4c7f91 100755 (executable)
@@ -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