Bug 13021 - oe-selftest does not pick up tests outside poky layers
Summary: oe-selftest does not pick up tests outside poky layers
Status: CLOSED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.7
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-11-13 19:34 UTC by Armin Kuster
Modified: 2018-11-13 22:17 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.