Am Fri, 23 Oct 2009 06:58:47 -0000
schrieb [email protected]:

> URL: http://svn.apache.org/viewvc?rev=828945&view=rev
> Log:
> added pear assembly file
> change phpunits deprecated log-xml to log-junit
> 
> @@ -240,7 +196,7 @@
>                                  <mkdir dir="${surefire.reports}" />
>                                  <exec executable="phpunit"
> dir="src/test/php"> <arg
> -                                        line="
> --log-xml ../../../${surefire.reports}/phpunit-testresults.xml ." />
> +                                        line="
> --log-junit ../../../${surefire.reports}/phpunit-testresults.xml ." />

I hope the phpunit on ci.apache.org is recent enough, I got an error:
    [exec] PHPUnit 3.3.17 by Sebastian Bergmann.
     [exec]
     [exec] unrecognized option --log-junit

But with phpunit 3.4 it seems to work.

bye,

-christian-

Reply via email to