$ oe-selftest -r oelib 2017-06-08 11:44:47,713 - oe-selftest - INFO - Adding layer libraries: 2017-06-08 11:44:47,713 - oe-selftest - INFO - /home/ross/Yocto/poky/meta/lib 2017-06-08 11:44:47,713 - oe-selftest - INFO - /home/ross/Yocto/poky/meta-yocto-bsp/lib 2017-06-08 11:44:47,713 - oe-selftest - INFO - /home/ross/Yocto/poky/meta-selftest/lib 2017-06-08 11:44:47,715 - oe-selftest - INFO - Running bitbake -p 2017-06-08 11:44:50,408 - oe-selftest - INFO - 2017-06-08 11:44:50,409 - oe-selftest - INFO - ---------------------------------------------------------------------- 2017-06-08 11:44:50,409 - oe-selftest - INFO - Ran 0 tests in 0.001s 2017-06-08 11:44:50,409 - oe-selftest - INFO - 2017-06-08 11:44:50,409 - oe-selftest - INFO - OK 2017-06-08 11:44:50,409 - oe-selftest - INFO - RESULTS: 2017-06-08 11:44:50,410 - oe-selftest - INFO - SUMMARY: 2017-06-08 11:44:50,410 - oe-selftest - INFO - oe-selftest () - Ran 0 tests in 0.002s 2017-06-08 11:44:50,410 - oe-selftest - INFO - oe-selftest - OK - All required tests passed oe-selftest -l says that there are ~20 tests in that module.
(In reply to comment #0) > $ oe-selftest -r oelib > 2017-06-08 11:44:47,713 - oe-selftest - INFO - Adding layer libraries: > 2017-06-08 11:44:47,713 - oe-selftest - INFO - > /home/ross/Yocto/poky/meta/lib > 2017-06-08 11:44:47,713 - oe-selftest - INFO - > /home/ross/Yocto/poky/meta-yocto-bsp/lib > 2017-06-08 11:44:47,713 - oe-selftest - INFO - > /home/ross/Yocto/poky/meta-selftest/lib > 2017-06-08 11:44:47,715 - oe-selftest - INFO - Running bitbake -p > 2017-06-08 11:44:50,408 - oe-selftest - INFO - > 2017-06-08 11:44:50,409 - oe-selftest - INFO - > ---------------------------------------------------------------------- > 2017-06-08 11:44:50,409 - oe-selftest - INFO - Ran 0 tests in 0.001s > 2017-06-08 11:44:50,409 - oe-selftest - INFO - > 2017-06-08 11:44:50,409 - oe-selftest - INFO - OK > 2017-06-08 11:44:50,409 - oe-selftest - INFO - RESULTS: > 2017-06-08 11:44:50,410 - oe-selftest - INFO - SUMMARY: > 2017-06-08 11:44:50,410 - oe-selftest - INFO - oe-selftest () - Ran 0 tests > in 0.002s > 2017-06-08 11:44:50,410 - oe-selftest - INFO - oe-selftest - OK - All > required tests passed > > oe-selftest -l says that there are ~20 tests in that module. The problem here is the current logic only works for: <module>.[class].[test_name] And the module names only accepts a single one, for example: bbtests.BitbakeTests.test_bbappend_order Versus: oelib.buildhistory.TestBlobParsing.test_compare_dict_blobs I will modify the filtering to allow [1] module names with more than one sub package, Cheers, Anibal [1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/lib/oeqa/core/loader.py#n168
Review at, http://lists.openembedded.org/pipermail/openembedded-core/2017-June/137782.html
Does that help the problem where with "oe-selftest -r module1 module2 module3" only module1 gets run?
Created attachment 3808 [details] oe-selftest multiple runs
(In reply to comment #3) > Does that help the problem where with "oe-selftest -r module1 module2 > module3" only module1 gets run? That is expected to work, i ran [1] and works: $ oe-selftest -r oelib lic_checksum [1] https://bugzilla.yoctoproject.org/attachment.cgi?id=3808
(In reply to comment #5) > (In reply to comment #3) > > Does that help the problem where with "oe-selftest -r module1 module2 > > module3" only module1 gets run? > > That is expected to work, i ran [1] and works: > Yes, looks like I had another s/-/_/ error. All good.
Merge at, http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=652df69b026f1188b99efb7a2a237a44928ff6a9