<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 15 November 2016 at 16:24, <span dir="ltr"><<a href="mailto:jose.perez.carranza@linux.intel.com" target="_blank">jose.perez.carranza@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id="gmail-:1up" class="gmail-a3s gmail-aXjCH gmail-m15868c796a11fd24">Currently the unittests for scripts on meta/lib/oe/tests are not being<br>
executed by any suite hence the best option is <span class="gmail-il">migrate</span> them to<br>
meta/lib/<span class="gmail-il">oeqa</span>/selftest/oelib-<wbr>tests to be executed along with the selftest suite.<br></div></blockquote></div><br>For some reason the discovery is very slow:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">$ oe-selftest -r oelib-tests.elf oelib-tests.license oelib-tests.path oelib-tests.types oelib-tests.utils</div><div class="gmail_extra">2016-12-13 16:15:00,014 - selftest - INFO - Running bitbake -e to get BBPATH</div><div class="gmail_extra">2016-12-13 16:15:03,143 - selftest - INFO - Checking that everything is in order before running the tests</div><div class="gmail_extra">2016-12-13 16:15:06,512 - selftest - INFO - Running bitbake -p</div><div class="gmail_extra">2016-12-13 16:15:10,203 - selftest - INFO - test runner init'ed like unittest</div><div class="gmail_extra">2016-12-13 16:15:13,428 - selftest - INFO - Loading tests from: oeqa.selftest.oelib-tests.elf</div><div class="gmail_extra">2016-12-13 16:15:16,489 - selftest - INFO - Loading tests from: oeqa.selftest.oelib-tests.license</div><div class="gmail_extra">2016-12-13 16:15:29,391 - selftest - INFO - Loading tests from: oeqa.selftest.oelib-tests.path</div><div class="gmail_extra">2016-12-13 16:15:38,822 - selftest - INFO - Loading tests from: oeqa.selftest.oelib-tests.types</div><div class="gmail_extra">2016-12-13 16:15:57,719 - selftest - INFO - Loading tests from: oeqa.selftest.oelib-tests.utils</div><div class="gmail_extra"><br></div><div class="gmail_extra">It took over a minute to load a few tests. Do you have any idea why the discovery is so slow?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div></div>