2 # syntax and unit tests (i.e. not func/)
3 . tests/scripts/common-functions
10 # apt-get install pcregrep moreutils xalan
12 phpunit --log-junit $WORKSPACE/reports/phpunit.xml \
13 --coverage-clover $WORKSPACE/reports/coverage/clover.xml \
14 --coverage-html $WORKSPACE/reports/coverage/ \
15 code_and_unit_tests.php
16 cp $WORKSPACE/reports/phpunit.xml $WORKSPACE/reports/phpunit.xml.org
17 xalan -in $WORKSPACE/reports/phpunit.xml.org -xsl unit/fix_phpunit.xslt \
18 -out $WORKSPACE/reports/phpunit.xml