<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts/lib/resulttool/junit.py, branch 5.2_M1</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=5.2_M1</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=5.2_M1'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2024-08-29T20:58:19+00:00</updated>
<entry>
<title>resulttool: Add support to create test report in JUnit XML format</title>
<updated>2024-08-29T20:58:19+00:00</updated>
<author>
<name>Clara Kowalsky</name>
<email>clara.kowalsky@siemens.com</email>
</author>
<published>2024-08-28T09:20:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5aeabd3217da2a7ce9f789d5d224f6682b4555a1'/>
<id>urn:sha1:5aeabd3217da2a7ce9f789d5d224f6682b4555a1</id>
<content type='text'>
This adds the functionality to convert the results of the
testresults.json file to a unit test report in JUnit XML format. The
unit test report can be used in the CI/CD pipeline to display the test
results.

To use the resulttool scripts, first source oe environment, then run the
entry point script to look for help.
	$ resulttool

To generate the unit test report, execute the below
	$ resulttool junit &lt;json_file&gt;

By default the unit test report is stored as
&lt;build_dir&gt;/tmp/log/oeqa/junit.xml.

(From OE-Core rev: 3f9be03946243feaa09b908d7010899769091fe6)

Signed-off-by: Clara Kowalsky &lt;clara.kowalsky@siemens.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
