There was a documentation error in the previously presented ant build file for the new merge-phpunit command of phpUnderControl. The @failonerror-attribute of the <exec />-tag in the merge target was set to false, which results in not failed CruiseControl builds
To fix this behaviour, you must modify the merge target in your build.xml, so that it looks similar to the following example.
<?xml version="1.0" encoding="UTF-8"?>
<project name="phpuc-test" default="build" basedir=".">
....
<target name="merge">
<exec executable="/usr/local/pear/PEAR/bin/phpuc" dir="${basedir}" failonerror="true">
<arg line="merge-phpunit
-b php-5.3.0,php-5.2.6,php-5.2.5
-i ${basedir}/build/tmp/php-5.3.0.xml,${basedir}/build/tmp/php-5.2.6.xml,${basedir}/build/tmp/php-5.2.5.xml
-o ${basedir}/build/logs/log.xml"/>
</exec>
</target>
</project>
Beside this documentation error, there was a bug in version 0.4.3 related to the same topic, which is fixed now. So please make sure you have the latest version (at least 0.4.4) installed.