Bug 13021

Summary: oe-selftest does not pick up tests outside poky layers
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Armin Kuster <akuster>
Component: coreAssignee: Armin Kuster <akuster>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: 2.7   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Armin Kuster 2018-11-13 19:34:57 UTC
It appears adding new selftest only are picked up in they reside within the 
poky/meta, poky/meta-poky and poky/meta-yocto-bsp.

I wanted to add a test to mete-openembedded and it was not seen but if I placed the test inside meta-yocto-bsp/lib/oeqa/selftest/cases the test is seen. There may be a search path issue.
Comment 1 Armin Kuster 2018-11-13 19:40:55 UTC
test inside meta-yocto-bsp:

2018-11-13 11:16:03,475 - oe-selftest - INFO - None	None		meta_oe_sources.OtherSourceMirroring.test_oe_source_mirror
2018-11-13 11:16:03,475 - oe-selftest - INFO - 1445	None		systemd_boot.Systemdboot.test_efi_systemdboot_images_can_be_built

test in other location:
2018-11-13 11:35:48,778 - oe-selftest - INFO - None	None		wic.Wic2.test_wic_rm_ext
2018-11-13 11:35:48,778 - oe-selftest - INFO - 1445	None		systemd_boot.Systemdboot.test_efi_systemdboot_images_can_be_built
Comment 2 Armin Kuster 2018-11-13 22:16:37 UTC
figured out what went wrong.. operator error.
Comment 3 Armin Kuster 2018-11-13 22:17:50 UTC
thanks for listening.