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

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


Author: aljeux
Date: 2010-10-06 18:12:55 +0200 (Wed, 06 Oct 2010)
New Revision: 10882

Added:
   trunk/tests/scripts/fusionforge-build-and-test-rpm.sh
Removed:
   trunk/tests/scripts/fusionforge-github-build-and-test-rpm.sh
   trunk/tests/scripts/fusionforge-trunk-build-and-test-rpm.sh
Log:
Simplify hudson scripts for building and testing rpm

Copied: trunk/tests/scripts/fusionforge-build-and-test-rpm.sh (from rev 10881, trunk/tests/scripts/fusionforge-trunk-build-and-test-rpm.sh)
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-rpm.sh	                        (rev 0)
+++ trunk/tests/scripts/fusionforge-build-and-test-rpm.sh	2010-10-06 16:12:55 UTC (rev 10882)
@@ -0,0 +1,26 @@
+#!/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/$JOB_NAME/ws/build/packages
+export HOST=centos52.local
+export DB_NAME=gforge
+export CONFIGURED=true
+
+rm -fr $WORKSPACE/build $WORKSPACE/reports
+mkdir -p $WORKSPACE/build/packages $WORKSPACE/reports/coverage
+
+make -f Makefile.rh BUILDRESULT=$WORKSPACE/build/packages all
+
+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 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

Deleted: trunk/tests/scripts/fusionforge-github-build-and-test-rpm.sh
===================================================================
--- trunk/tests/scripts/fusionforge-github-build-and-test-rpm.sh	2010-10-06 16:12:40 UTC (rev 10881)
+++ trunk/tests/scripts/fusionforge-github-build-and-test-rpm.sh	2010-10-06 16:12:55 UTC (rev 10882)
@@ -1,26 +0,0 @@
-#!/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/$JOB_NAME/ws/build/packages
-export HOST=centos52.local
-export DB_NAME=gforge
-export CONFIGURED=true
-
-rm -fr $WORKSPACE/build $WORKSPACE/reports
-mkdir -p $WORKSPACE/build/packages $WORKSPACE/reports/coverage
-
-make -f Makefile.rh BUILDRESULT=$WORKSPACE/build/packages all
-
-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

Deleted: trunk/tests/scripts/fusionforge-trunk-build-and-test-rpm.sh
===================================================================
--- trunk/tests/scripts/fusionforge-trunk-build-and-test-rpm.sh	2010-10-06 16:12:40 UTC (rev 10881)
+++ trunk/tests/scripts/fusionforge-trunk-build-and-test-rpm.sh	2010-10-06 16:12:55 UTC (rev 10882)
@@ -1,27 +0,0 @@
-#!/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/$JOB_NAME/ws/build/packages
-export HOST=centos52.local
-export DB_NAME=gforge
-export CONFIGURED=true
-
-rm -fr $WORKSPACE/build $WORKSPACE/reports
-mkdir -p $WORKSPACE/build/packages $WORKSPACE/reports/coverage
-
-cd source
-make -f Makefile.rh BUILDRESULT=$WORKSPACE/build/packages all
-
-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 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




More information about the Fusionforge-commits mailing list