Subject: | Patch to support "bad" (non-ASCII) characters in generated JUnit XML |
Hudson's XML parsing is very finicky about the characters it will accept. The attached patch
adds a step that cleans the living daylights out of the incoming TAP to ensure that no matter
what weird stuff the tests print, things continue to work. (JSON-Any in particular does this.)
In addition, tap2junit now also accepts '-' as a valid filename, and reads from STDIN and writes
to STDOUT. Other file processing remains the same, so mixing '-' and actual files works.
The tests have been modified slightly to use FindBin to locate items that used to use relative
paths, and all the tests have '-Iblib/lib' on their Perl invocations to ensure that we're testing the
modules we're working on.
It also upgrades the file from 0.02 to 0.03.
Thanks for writing it! It's made setting up Hudson a lot simpler.
Subject: | TAP-JUnit-Formatter.patch |
Message body is not shown because it is too large.