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

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Jul 20 22:42:52 CEST 2010


Author: aljeux
Date: 2010-07-20 22:42:52 +0200 (Tue, 20 Jul 2010)
New Revision: 10280

Added:
   trunk/tests/scripts/fusionforge-trunk-test-rpm.sh
Log:
Add script for fusionforge-trunk-test-rpm hudson job

Added: trunk/tests/scripts/fusionforge-trunk-test-rpm.sh
===================================================================
--- trunk/tests/scripts/fusionforge-trunk-test-rpm.sh	                        (rev 0)
+++ trunk/tests/scripts/fusionforge-trunk-test-rpm.sh	2010-07-20 20:42:52 UTC (rev 10280)
@@ -0,0 +1,23 @@
+#!/bin/sh -x
+
+export CONFIG_PHP=func/config.php.buildbot
+export SELENIUM_RC_HOST=192.168.0.204
+export SELENIUM_RC_DIR=$WORKSPACE/reports
+export SELENIUM_RC_URL=${HUDSON_URL}job/$JOB_NAME/ws/reports
+export FFORGE_RPM_REPO=${HUDSON_URL}job/fusionforge-trunk-build-source/ws/build/packages
+export HOST=centos52.local
+export CONFIGURED=true
+
+rm -fr build/ reports/
+mkdir -p build/packages reports/coverage
+
+cp gforge/rpm-specific/fusionforge.repo build/packages/fusionforge.repo
+sed -i "s#http://fusionforge.org/#${HUDSON_URL}#" build/packages/fusionforge.repo
+sed -i "s#baseurl = .*#baseurl = $FFORGE_RPM_REPO/#" build/packages/fusionforge.repo
+
+cd tests
+phpunit --log-junit $WORKSPACE/reports/phpunit-selenium.xml RPMCentos52Tests.php
+
+cd ..
+cp $WORKSPACE/reports/phpunit-selenium.xml $WORKSPACE/reports/phpunit-selenium.xml.org
+xalan -in $WORKSPACE/reports/phpunit-selenium.xml.org -xsl fix_phpunit.xslt -out $WORKSPACE/reports/phpunit-selenium.xml


Property changes on: trunk/tests/scripts/fusionforge-trunk-test-rpm.sh
___________________________________________________________________
Added: svn:executable
   + *




More information about the Fusionforge-commits mailing list