4 export WORKSPACE=${WORKSPACE:-$CURDIR}
6 export CONFIG_PHP=func/config.php.buildbot
7 export SELENIUM_RC_HOST=192.168.0.204
8 export SELENIUM_RC_DIR=$WORKSPACE/reports
9 if [ "x${HUDSON_URL}" = "x" ]
11 . tests/openvz/config.default
12 if [ -f tests/openvz/config.`hostname` ] ; then . tests/openvz/config.`hostname`; fi
14 export IPBASE=$IPDEBBASE
15 export IPDNS=$IPDEBDNS
16 ARCH=`dpkg-architecture -qDEB_BUILD_ARCH`
17 export VZTEMPLATE=debian-$DEBVERS-$ARCH-minimal
19 export SELENIUM_RC_URL=http://`hostname -f`/ws/reports
20 export FFORGE_RPM_REPO=http://`hostname -f`/ws/build/packages
21 export HOST=debian6.local
22 export SELENIUM_RC_HOST=localhost
24 export SELENIUM_RC_URL=${HUDSON_URL}job/$JOB_NAME/ws/reports
25 export FFORGE_RPM_REPO=${HUDSON_URL}job/$JOB_NAME/ws/build/packages
26 export HOST=debian6.local
29 export CONFIGURED=true
31 [ ! -d $WORKSPACE/build ] || rm -fr $WORKSPACE/build
32 mkdir -p $WORKSPACE/build/packages
33 [ ! -d $WORKSPACE/reports ] || rm -fr $WORKSPACE/reports
34 mkdir -p $WORKSPACE/reports/coverage
36 make -f Makefile.debian BUILDRESULT=$WORKSPACE/build/packages LOCALREPODEB=$WORKSPACE/build/debian rsqueeze
39 phpunit --log-junit $WORKSPACE/reports/phpunit-selenium.xml DEBDebian60Tests.php
42 cp $WORKSPACE/reports/phpunit-selenium.xml $WORKSPACE/reports/phpunit-selenium.xml.org
43 xalan -in $WORKSPACE/reports/phpunit-selenium.xml.org -xsl fix_phpunit.xslt -out $WORKSPACE/reports/phpunit-selenium.xml