| Summary: | resulttool junit generation doesn't show individual ptest tests | ||
|---|---|---|---|
| Product: | [QA/Testing] Tooling | Reporter: | Ross Burton <ross.burton> |
| Component: | tooling | Assignee: | Ross Burton <ross.burton> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | paul, randy.macleod |
| Version: | unspecified | ||
| Target Milestone: | 6.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
If I run core-image-ptest-cpio:do_testimage then generated testresults.json lists individual cpio test cases: "ptestresult.cpio.big_block_size": { "status": "PASSED" }, "ptestresult.cpio.cpio_version": { "status": "PASSED" }, "ptestresult.cpio.delayed_setstat": { "status": "PASSED" }, However, if I generate JUnit from this then I just get a top-level item: <testsuite name="Package Tests" errors="0" failures="0" skipped="0" tests="1" time="1"> <testcase name="cpio" classname="ptest" time="1" /> </testsuite> I think "cpio" should be a nested testsuite and then we can have each test case listed.