mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
oeqa selftest context.py: remove warning from missing meta-selftest
It's not a warning but a handled case and layer gets added automatically. Very few build configs have this layer enabled by default. (From OE-Core rev: 70d2ceea48ef6ec04675e4e6a9c48ebc5bb78f52) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> (cherry picked from commit 9a2493ea83f0b30578a819de05108502aaadc7f5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
0198d514d6
commit
8acce65aa5
@@ -296,7 +296,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
|
|||||||
os.chdir(builddir)
|
os.chdir(builddir)
|
||||||
|
|
||||||
if not "meta-selftest" in self.tc.td["BBLAYERS"]:
|
if not "meta-selftest" in self.tc.td["BBLAYERS"]:
|
||||||
self.tc.logger.warning("meta-selftest layer not found in BBLAYERS, adding it")
|
self.tc.logger.info("meta-selftest layer not found in BBLAYERS, adding it")
|
||||||
meta_selftestdir = os.path.join(
|
meta_selftestdir = os.path.join(
|
||||||
self.tc.td["BBLAYERS_FETCH_DIR"], 'meta-selftest')
|
self.tc.td["BBLAYERS_FETCH_DIR"], 'meta-selftest')
|
||||||
if os.path.isdir(meta_selftestdir):
|
if os.path.isdir(meta_selftestdir):
|
||||||
|
|||||||
Reference in New Issue
Block a user