<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 5, 2015 at 12:17 AM, LIU, Sharron <span dir="ltr">&lt;<a href="mailto:sharron.liu@intel.com" target="_blank">sharron.liu@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="overflow:hidden">[YOCTO #7865] <a href="https://bugzilla.yoctoproject.org/show_bug.cgi?id=7865" rel="noreferrer" target="_blank">https://bugzilla.yoctoproject.org/show_bug.cgi?id=7865</a><br>
<br>
This script is extended to detect and run tests from all BBLAYERS added to<br>
BBPATH. Tests can be put in any sub-dir, except for &quot;files&quot; which is treated<br>
as test dependent files.<br>
<br>
To detect tests, this patch goes through &quot;lib/oeqa/selftest/&quot; of every layer<br>
added to BBPATH.<br>
To support sub-dir, this patch list test module with its sub-dirs prefix.<br>
To run tests, this patch adds tests package path into &quot;sys.path&quot; then reload<br>
&quot;oeqa.selftest&quot;.<br>
<br>
Signed-off-by: LIU, Sharron &lt;<a href="mailto:sharron.liu@intel.com" target="_blank">sharron.liu@intel.com</a>&gt;</div></blockquote></div><br>This was implemented as a part of the work to do the same for devtool &amp; recipetool, see <a href="https://bugzilla.yoctoproject.org/show_bug.cgi?id=7865#c10" target="_blank">https://bugzilla.yoctoproject.org/show_bug.cgi?id=7865#c10</a> and <a href="https://bugzilla.yoctoproject.org/show_bug.cgi?id=7625#c3" target="_blank">https://bugzilla.yoctoproject.org/show_bug.cgi?id=7625#c3</a>:</div><div class="gmail_extra"><br></div><div class="gmail_extra">    <a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d2023c34e4c3735d919c35d80daf991aab579500" target="_blank">https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d2023c34e4c3735d919c35d80daf991aab579500</a></div><div class="gmail_extra">    <a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=51d760e2a7e22f1b07608fc925da343e56a9ae74" target="_blank">https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=51d760e2a7e22f1b07608fc925da343e56a9ae74</a><br>-- <br><div>Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>