Currently, the oe-selftest feature for listing/running tests receives parameters that are searched as an entire-word-match. For example, given that you have the list of tests: test_name test_name_a1 test_name_a2 test_name_b1 test_name_b2 if you search a test by name: test_name, it will return test_name. You should be able to search a test by a simple expression: test_name* and would return all the tests that listed. Other possibilities with simple pattern matching: test_name_a* test_name_*1 In these examples, the asterisk wildcard would be used as the regex .* but it could be designed in all his full regex glory, it might just be not so practical to implement/use in that form.
Sent patch http://lists.openembedded.org/pipermail/openembedded-core/2016-March/118873.html