By the way - I just realized that I get exactly the same error when applying: https://issues.apache.org/jira/browse/LOG4PHP-59 Please try to use: self::STDOUT instead of STDOUT, that should do the trick
Cheers On Mon, Jul 27, 2009 at 7:37 AM, Christian Grobmeier<[email protected]> wrote: > Hi Christian, > >> [mkdir] Created dir: >> /srv/home/james/workspace/log4php/target/surefire-reports >> [exec] PHPUnit 3.3.17 by Sebastian Bergmann. >> [exec] >> [exec] .......II...................F.................E.... >> [xslt] Processing >> /srv/home/james/workspace/log4php/target/surefire-reports/phpunit-testresults.xml >> to /srv/home/james/workspace/log4php/target/surefire-reports/xslt.info >> [xslt] Loading stylesheet >> /srv/home/james/workspace/log4php/src/test/config/phpunit_to_surefire.xslt >> [xslt] >> /srv/home/james/workspace/log4php/target/surefire-reports/phpunit-testresults.xml:1:1: >> Fatal Error! Error reported by XML > > > the error is not because of a maven problem. Its because you have > errors in the testcases: > This: .......II...................F.................E.... > indicates one failure and one error. Even when phpunit goes on for 4 > tests after the error, it suddenly breaks down. Check your php.log or > activate error output in php.ini. Maybe that brings more light into > game. However, phpunit doesn't complete normaly and this is why your > report is empty and cannot be transformed. > The error might be the same as for buildbot (guessing). Please check > out <? phpinfo(); ?> if your PDO drivers for SQlite are activated. > Just search for PDO in the output of the tag. > > A correct output should look like: > > [exec] PHP 15. LoggerManager::autoload() > /Volumes/ANDREW/Projekte/Entwicklung/log4php-commit-trunk/src/main/php/LoggerManager.php:0 > [exec] .......................................................... 60 / 84 > [exec] ..II...........IIIIIIII. > [exec] > [exec] Time: 0 seconds > [exec] > OK, but incomplete or skipped tests! > Tests: 84, Assertions: 218, Incomplete: 10. > > Here is another comparison: > http://www.substring.no:8080/cruisecontrol/buildresults/log4php?tab=buildResults > > But not Buildbot, which has the same problems like you have: > http://ci.apache.org/projects/log4php/surefire-report.html > > However, there is still an failure and I don't know why that happens. > Its the same, on buildbot and on your enviroment. > We need to check out what you have in common with buildbot and the > difference to me. > > I am assuming its some kind of php configuration. Can you plz let me > know in which enviroment you are working? > I am on Mac Tiger, PHP 5.2.5, PHPUnit 3.3.17. > Here is my local php.ini file for comparison: > http://grobmeier.de/php.ini > > This would help much, thanks! > > Christian >
