| Summary: | Support TCs under sub-folders of /lib/oeqa/ | ||
|---|---|---|---|
| Product: | [QA/Testing] Runtime Testing | Reporter: | Cathy Shen <cathy.shen> |
| Component: | general | Assignee: | Costin <costin.c.constantin> |
| Status: | VERIFIED FIXED | QA Contact: | Cathy Shen <cathy.shen> |
| Severity: | enhancement | ||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, jing.j.wang |
| Version: | 1.8.1 | ||
| Target Milestone: | 1.9 M1 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Cathy Shen
2015-06-01 13:43:32 UTC
JingWang should have a patch to handle this. Current implementation just support loading TC from the python module which sit directly under /lib/oeqa/runtime, not support TCs in subfolder. To resolve it, I think testimage should support TESTSUITES with complete TC path, such as oeqa.runtime.sanity.baseos, oeqa.runtime.pnp.memory. Next, with unittest TestLoader, it is easy to load those TCs, just small update on existing get_tc_list function. I'll provide a patch. Merged to Yocto master branch. Commit ID: 129aed8d799b91c7327cebcb241ad3f7a4f7de66 (In reply to comment #3) > Merged to Yocto master branch. Commit ID: > 129aed8d799b91c7327cebcb241ad3f7a4f7de66 To be more clear, it's merged to poky master branch. Verified with poky master branch. |