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

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Oct 6 22:01:18 CEST 2010


Author: aljeux
Date: 2010-10-06 22:01:18 +0200 (Wed, 06 Oct 2010)
New Revision: 10883

Added:
   trunk/tests/scripts/fusionforge-build-and-test-source.sh
Log:
New hudson script build-and-source.sh

Added: trunk/tests/scripts/fusionforge-build-and-test-source.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-source.sh	                        (rev 0)
+++ trunk/tests/scripts/fusionforge-build-and-test-source.sh	2010-10-06 20:01:18 UTC (rev 10883)
@@ -0,0 +1,29 @@
+cd source
+
+#!/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 HOST=centos52.local
+export DB_NAME=gforge
+export CONFIGURED=true
+
+rm -fr $WORKSPACE/build/packages $WORKSPACE/reports $WORKSPACE/apidocs
+mkdir -p $WORKSPACE/build/packages $WORKSPACE/reports/coverage $WORKSPACE/apidocs
+
+make build-doc DOXYGEN=$HOME/doxygen-1.6.3/bin/doxygen
+make BUILDRESULT=$WORKSPACE/build/packages buildtar
+
+cp gforge/rpm-specific/fusionforge.repo $WORKSPACE/build/packages/fusionforge.repo
+sed -i "s#http://fusionforge.org/#${HUDSON_URL}#" $WORKSPACE/build/packages/fusionforge.repo
+sed -i "s#baseurl = .*#baseurl = $FFORGE_RPM_REPO/#" $WORKSPACE/build/packages/fusionforge.repo
+
+cd tests
+phpunit --log-junit $WORKSPACE/reports/phpunit-selenium.xml TarCentos52Tests.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-build-and-test-source.sh
___________________________________________________________________
Added: svn:executable
   + *




More information about the Fusionforge-commits mailing list