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.
Merged in master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5fba9d8c6c9982f59b0285fe17e91e162e25d495
Verified on master branch. Commit ID: b049d532f6e0ab9e458e486f81b00be47ee69acf