<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 12/13/2016 10:32 AM, Burton, Ross
wrote:<br>
</div>
<blockquote
cite="mid:CAJTo0LYbCY=ETjx3wdo1nwsDDJCgEZU7F0JfiuP_zZf+tS3F-A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 13 December 2016 at 16:17, Burton,
Ross <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<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>
</blockquote>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
at my host is very fast the load (1 second) <br>
<br>
jgperezc@jgperezc:~/poky-oetest/build$ oe-selftest -r
oelib-tests.elf oelib-tests.license oelib-tests.path
oelib-tests.types oelib-tests.utils<br>
2016-12-13 10:48:28,333 - selftest - INFO - Running bitbake -e to
get BBPATH<br>
2016-12-13 10:48:29,125 - selftest - INFO - Checking that everything
is in order before running the tests<br>
2016-12-13 10:48:29,833 - selftest - INFO - Running bitbake -p<br>
2016-12-13 10:48:52,181 - selftest - INFO - test runner init'ed like
unittest<br>
2016-12-13 10:48:52,995 - selftest - INFO - Loading tests from:
oeqa.selftest.oelib-tests.elf<br>
2016-12-13 10:48:52,998 - selftest - INFO - Loading tests from:
oeqa.selftest.oelib-tests.license<br>
2016-12-13 10:48:53,000 - selftest - INFO - Loading tests from:
oeqa.selftest.oelib-tests.path<br>
2016-12-13 10:48:53,001 - selftest - INFO - Loading tests from:
oeqa.selftest.oelib-tests.types<br>
2016-12-13 10:48:53,003 - selftest - INFO - Loading tests from:
oeqa.selftest.oelib-tests.utils<br>
2016-12-13 10:48:53,005 - selftest - INFO - Adding: "include
selftest.inc" in local.conf<br>
2016-12-13 10:48:53,005 - selftest - INFO - Adding: "include
bblayers.inc" in bblayers.conf<br>
<br>
<blockquote
cite="mid:CAJTo0LYbCY=ETjx3wdo1nwsDDJCgEZU7F0JfiuP_zZf+tS3F-A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Oh, it's because oeselftest does bitbake calls isn't
it.</div>
<div><br>
</div>
<div>Good news: you don't need to use oeSelfTest at all, the
discovery works fine with standard unittest.TestCase
objects.</div>
<div><br>
</div>
<div>Patch incoming. :)</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
Ok, just wondering if oe-selftest -l will also list those test cases
?? <br>
<blockquote
cite="mid:CAJTo0LYbCY=ETjx3wdo1nwsDDJCgEZU7F0JfiuP_zZf+tS3F-A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Ross</div>
<div> </div>
</div>
<br>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Saludos
José </pre>
</body>
</html>