[gnome-continuous-yocto/gnomeostree-3.28-rocko: 6441/8267] oeqa/selftest/context: Reload testlayer_path when meta-selftest isn't added
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 6441/8267] oeqa/selftest/context: Reload testlayer_path when meta-selftest isn't added
- Date: Sun, 17 Dec 2017 04:50:58 +0000 (UTC)
commit 7a19bbcf81ada2c9fbb2b65ac638781ad8f15740
Author: Aníbal Limón <anibal limon linux intel com>
Date: Thu Jun 15 17:09:50 2017 -0500
oeqa/selftest/context: Reload testlayer_path when meta-selftest isn't added
When add meta-selftest by the script the testlayer_path needs to be
reloaded to avoid None value.
(From OE-Core rev: d1120849e12c46aa46b02905a3f43c0853bd11a0)
Signed-off-by: Aníbal Limón <anibal limon linux intel com>
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/lib/oeqa/selftest/context.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py
index 8c8439b..ca87398 100644
--- a/meta/lib/oeqa/selftest/context.py
+++ b/meta/lib/oeqa/selftest/context.py
@@ -131,6 +131,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
runCmd("bitbake-layers add-layer %s" %meta_selftestdir)
# reload data is needed because a meta-selftest layer was add
self.tc.td = get_bb_vars()
+ self.tc.testlayer_path = get_test_layer()
else:
self.tc.logger.error("could not locate meta-selftest in:\n%s" % meta_selftestdir)
raise OEQAPreRun
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]