[Fusionforge-commits] r12669 - trunk/tests/scripts

Christian Bayle cbayle at fusionforge.org
Fri Mar 11 00:38:42 CET 2011


Author: cbayle
Date: 2011-03-11 00:38:42 +0100 (Fri, 11 Mar 2011)
New Revision: 12669

Modified:
   trunk/tests/scripts/fusionforge-build-and-test-deb.sh
   trunk/tests/scripts/fusionforge-build-and-test-rpm.sh
   trunk/tests/scripts/fusionforge-build-and-test-source.sh
Log:
deal with log differently on remote host


Modified: trunk/tests/scripts/fusionforge-build-and-test-deb.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-deb.sh	2011-03-10 23:30:30 UTC (rev 12668)
+++ trunk/tests/scripts/fusionforge-build-and-test-deb.sh	2011-03-10 23:38:42 UTC (rev 12669)
@@ -92,11 +92,11 @@
 	cd tests
 	phpunit --log-junit $WORKSPACE/reports/phpunit-selenium.xml DEBDebian60Tests.php
 	cd ..
+	if [ "x$SELENIUM_RC_DIR" != "x" ]
+	then
+		scp -r root@$HOST:/var/log $SELENIUM_RC_DIR
+	fi
 fi
-if [ "x$SELENIUM_RC_DIR" != "x" ]
-then
-	scp -r root@$HOST:/var/log $SELENIUM_RC_DIR
-fi
 if $KEEPVM 
 then
 	echo "Keeping vm $HOST alive"

Modified: trunk/tests/scripts/fusionforge-build-and-test-rpm.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-rpm.sh	2011-03-10 23:30:30 UTC (rev 12668)
+++ trunk/tests/scripts/fusionforge-build-and-test-rpm.sh	2011-03-10 23:38:42 UTC (rev 12669)
@@ -88,11 +88,11 @@
 	cd tests
 	phpunit --log-junit $WORKSPACE/reports/phpunit-selenium.xml RPMCentos52Tests.php
 	cd ..
+	if [ "x$SELENIUM_RC_DIR" != "x" ]
+	then
+		scp -r root@$HOST:/var/log $SELENIUM_RC_DIR
+	fi
 fi
-if [ "x$SELENIUM_RC_DIR" != "x" ]
-then
-	scp -r root@$HOST:/var/log $SELENIUM_RC_DIR
-fi
 if $KEEPVM 
 then
 	echo "Keeping vm $HOST alive"

Modified: trunk/tests/scripts/fusionforge-build-and-test-source.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-source.sh	2011-03-10 23:30:30 UTC (rev 12668)
+++ trunk/tests/scripts/fusionforge-build-and-test-source.sh	2011-03-10 23:38:42 UTC (rev 12669)
@@ -91,11 +91,11 @@
 	cd tests
 	phpunit --log-junit $WORKSPACE/reports/phpunit-selenium.xml TarCentos52Tests.php
 	cd ..
+	if [ "x$SELENIUM_RC_DIR" != "x" ]
+	then
+		scp -r root@$HOST:/var/log $SELENIUM_RC_DIR
+	fi
 fi
-if [ "x$SELENIUM_RC_DIR" != "x" ]
-then
-	scp -r root@$HOST:/var/log $SELENIUM_RC_DIR
-fi
 if $KEEPVM 
 then
 	echo "Keeping vm $HOST alive"




More information about the Fusionforge-commits mailing list