[Fusionforge-commits] r15706 - in trunk: . tests/scripts

Roland Mas lolando at fusionforge.org
Sun Jun 10 16:17:43 CEST 2012


Author: lolando
Date: 2012-06-10 16:17:42 +0200 (Sun, 10 Jun 2012)
New Revision: 15706

Modified:
   trunk/
   trunk/tests/scripts/fusionforge-build-and-test-src-cos.sh
   trunk/tests/scripts/fusionforge-build-and-test-src-deb.sh
Log:
Archive install log to help debugging testsuite failures

Modified: trunk/tests/scripts/fusionforge-build-and-test-src-cos.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-src-cos.sh	2012-06-10 12:18:43 UTC (rev 15705)
+++ trunk/tests/scripts/fusionforge-build-and-test-src-cos.sh	2012-06-10 14:17:42 UTC (rev 15706)
@@ -51,6 +51,7 @@
 then
         ssh -X root@$HOST "$FORGE_HOME/tests/scripts/phpunit.sh TarCentosTests.php" || retcode=$?
         rsync -av root@$HOST:/var/log/ $WORKSPACE/reports/
+	scp root@$HOST:/tmp/gforge-*.log $WORKSPACE/reports/
 else
         echo "No display is available, NOT RUNNING TESTS"
         retcode=2

Modified: trunk/tests/scripts/fusionforge-build-and-test-src-deb.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-src-deb.sh	2012-06-10 12:18:43 UTC (rev 15705)
+++ trunk/tests/scripts/fusionforge-build-and-test-src-deb.sh	2012-06-10 14:17:42 UTC (rev 15706)
@@ -72,6 +72,7 @@
 sleep 5
 retcode=$(ssh root@$HOST cat /root/phpunit.exitcode)
 rsync -av root@$HOST:/var/log/ $WORKSPACE/reports/
+scp root@$HOST:/tmp/gforge-*.log $WORKSPACE/reports/
 ssh root@$HOST "vncserver -kill :1" || retcode=$?
 
 stop_vm_if_not_keeped -t debian6 $@




More information about the Fusionforge-commits mailing list