php/php-src — pull request #16 by conf (2012-03-21 22:31:54+00:00)
Title: Refactoring junit logger. Added generation of nested testsuites in junit.xml.

General intention:
1) Refactor code operating with junit.xml.
2) Implement nested testsuites so Jenkins won't list all tests on 1 page (which makes page very heavy) but nicely organizes them in groups. http://ci.qa.php.net now uses slightly older version of this patch and it went very well. See [this page](http://ci.qa.php.net/job/php-src-trunk-matrix-build/architecture=x86,os=linux-debian-6.0/lastCompletedBuild/testReport/) for example.

What was done:
1) Much duplicated code was refactored into separate functions with `junit_` prefix.
2) Generation nested testsuites in junit.xml
3) Some whitespace fixes. If you want to see patch without these changes try this url
https://github.com/conf/php-src/compare/php:PHP-5.4...conf:run-tests-php-5.4?w=1 (like `git diff -w`)