Ant 1.9.2 claims report is invalid
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
What steps will reproduce the problem?
1. Start an emulated device
2. Extract the contents of the tarball
3. cd junit-report-test/test/
4. ant test-and-report
What is the expected output?
test-and-report:
[junitreport] Processing
/home/AAA/code/junit-report-test/test/reports/com.somepackage-TEST.xml to
/tmp/null1156644559
[junitreport] Processing
/home/AAA/code/junit-report-test/test/reports/TESTS-TestSuites.xml to
/tmp/null1185900800
[junitreport] Loading stylesheet
jar:file:/usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optiona
l/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 271ms
[junitreport] Deleting: /tmp/null1185900800
What do you see instead?
test-and-report:
[junitreport] the file
/home/AAA/code/junit-report-test/test/reports/com.somepackage-TEST.xml is not a
valid testsuite XML document
[junitreport] Processing
/home/AAA/code/junit-report-test/test/reports/TESTS-TestSuites.xml to
/tmp/null1185900800
[junitreport] Loading stylesheet
jar:file:/usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optiona
l/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 271ms
[junitreport] Deleting: /tmp/null1185900800
What version of the product are you using? On what operating system?
the-missing-android-xml-junit-test-runner-release-1.3_2.jar
Apache Ant(TM) version 1.9.2 compiled on July 14 2013
Android Build-tools 19
Android SDK Tools 22.3
Please provide any additional information below.
Jenkins v1.544 DOES view the generated xml report to be valid. I'm not sure why
Ant is now being stricter about what it will accept. I have not found a way to
get a more detailed description about what Ant believes makes the file invalid.
Original issue reported on code.google.com by UnholySa...@gmail.com
on 18 Dec 2013 at 5:15
Attachments: