Bug 4878 - Add ability for testimage to find tests in other layers
Summary: Add ability for testimage to find tests in other layers
Status: VERIFIED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 1.5
Hardware: All Multiple
: Medium enhancement
Target Milestone: 1.5
Assignee: Stefan Stanacar
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-07-19 13:03 UTC by Paul Eggleton
Modified: 2013-09-30 12:27 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2013-07-19 13:03:01 UTC
Layers that add additional recipes should ideally be able to add associated tests. The testimage class currently looks in a fixed path for test modules; it would be very useful if it could look in all configured layers for additional ones. This will be immediately useful for tests relating to the new meta-security layer.

This should be pretty easy to implement - the BBLAYERS variable value contains the paths to all enabled layers; if we just search in tests/runtime/ under each of those paths and then this can be the standard location within a layer for introducing test modules.
Comment 2 Alexandru Palalau 2013-09-30 12:27:07 UTC
Verified on master branch.
Commit ID: b049d532f6e0ab9e458e486f81b00be47ee69acf