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
20 export SELENIUM_RC_URL=http://`hostname -f`/ws/reports
21 export FFORGE_DEB_REPO=http://`hostname -f`/ws/build/debian
22 export HOST=debian6.local
23 export SELENIUM_RC_HOST=localhost
26 export SELENIUM_RC_URL=${HUDSON_URL}job/$JOB_NAME/ws/reports
27 export FFORGE_RPM_REPO=${HUDSON_URL}job/$JOB_NAME/ws/build/packages
28 export HOST=debian6.local
29 export VZTEMPLATE=debian-$DEBVERS-$ARCH-minimal
32 export CONFIGURED=true
34 [ ! -d $WORKSPACE/build/packages ] || rm -fr $WORKSPACE/build/packages
35 mkdir -p $WORKSPACE/build/packages
36 [ -d $WORKSPACE/build/debian ] || mkdir $WORKSPACE/build/debian
37 [ ! -d $WORKSPACE/reports ] || rm -fr $WORKSPACE/reports
38 mkdir -p $WORKSPACE/reports/coverage
40 make -f Makefile.debian BUILDRESULT=$WORKSPACE/build/packages LOCALREPODEB=$WORKSPACE/build/debian rsqueeze
43 phpunit --log-junit $WORKSPACE/reports/phpunit-selenium.xml DEBDebian60Tests.php
46 cp $WORKSPACE/reports/phpunit-selenium.xml $WORKSPACE/reports/phpunit-selenium.xml.org
47 xalan -in $WORKSPACE/reports/phpunit-selenium.xml.org -xsl fix_phpunit.xslt -out $WORKSPACE/reports/phpunit-selenium.xml