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

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Nov 16 19:26:04 CET 2010


Author: aljeux
Date: 2010-11-16 19:26:04 +0100 (Tue, 16 Nov 2010)
New Revision: 11545

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:
Tests: Remove hardcoded selenium rc IP, default is original server

Modified: trunk/tests/scripts/fusionforge-build-and-test-deb.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-deb.sh	2010-11-16 08:10:57 UTC (rev 11544)
+++ trunk/tests/scripts/fusionforge-build-and-test-deb.sh	2010-11-16 18:26:04 UTC (rev 11545)
@@ -4,7 +4,7 @@
 export WORKSPACE=${WORKSPACE:-$CURDIR}
 
 export CONFIG_PHP=func/config.php.buildbotDEB
-export SELENIUM_RC_HOST=192.168.0.204
+export SELENIUM_RC_HOST=${SELENIUM_RC_HOST:-`hostname -i`}
 export SELENIUM_RC_DIR=$WORKSPACE/reports
 if [ "x${HUDSON_URL}" = "x" ]
 then

Modified: trunk/tests/scripts/fusionforge-build-and-test-rpm.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-rpm.sh	2010-11-16 08:10:57 UTC (rev 11544)
+++ trunk/tests/scripts/fusionforge-build-and-test-rpm.sh	2010-11-16 18:26:04 UTC (rev 11545)
@@ -4,7 +4,7 @@
 export WORKSPACE=${WORKSPACE:-$CURDIR}
 
 export CONFIG_PHP=func/config.php.buildbot
-export SELENIUM_RC_HOST=192.168.0.204
+export SELENIUM_RC_HOST=${SELENIUM_RC_HOST:-`hostname -i`}
 export SELENIUM_RC_DIR=$WORKSPACE/reports
 if [ "x${HUDSON_URL}" = "x" ]
 then

Modified: trunk/tests/scripts/fusionforge-build-and-test-source.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-source.sh	2010-11-16 08:10:57 UTC (rev 11544)
+++ trunk/tests/scripts/fusionforge-build-and-test-source.sh	2010-11-16 18:26:04 UTC (rev 11545)
@@ -1,7 +1,7 @@
 #!/bin/sh -x
 
 export CONFIG_PHP=func/config.php.buildbot
-export SELENIUM_RC_HOST=192.168.0.204
+export SELENIUM_RC_HOST=${SELENIUM_RC_HOST:-`hostname -i`}
 export SELENIUM_RC_DIR=$WORKSPACE/reports
 export SELENIUM_RC_URL=${HUDSON_URL}job/$JOB_NAME/ws/reports
 export HOST=centos52.local




More information about the Fusionforge-commits mailing list