On 15 November 2016 at 16:24, <[email protected]> wrote:
> Currently the unittests for scripts on meta/lib/oe/tests are not being > executed by any suite hence the best option is migrate them to > meta/lib/oeqa/selftest/oelib-tests to be executed along with the selftest > suite. > For some reason the discovery is very slow: $ oe-selftest -r oelib-tests.elf oelib-tests.license oelib-tests.path oelib-tests.types oelib-tests.utils 2016-12-13 16:15:00,014 - selftest - INFO - Running bitbake -e to get BBPATH 2016-12-13 16:15:03,143 - selftest - INFO - Checking that everything is in order before running the tests 2016-12-13 16:15:06,512 - selftest - INFO - Running bitbake -p 2016-12-13 16:15:10,203 - selftest - INFO - test runner init'ed like unittest 2016-12-13 16:15:13,428 - selftest - INFO - Loading tests from: oeqa.selftest.oelib-tests.elf 2016-12-13 16:15:16,489 - selftest - INFO - Loading tests from: oeqa.selftest.oelib-tests.license 2016-12-13 16:15:29,391 - selftest - INFO - Loading tests from: oeqa.selftest.oelib-tests.path 2016-12-13 16:15:38,822 - selftest - INFO - Loading tests from: oeqa.selftest.oelib-tests.types 2016-12-13 16:15:57,719 - selftest - INFO - Loading tests from: oeqa.selftest.oelib-tests.utils It took over a minute to load a few tests. Do you have any idea why the discovery is so slow? Ross
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
