[oe-commits] [openembedded-core] 14/43: oeqa/selftest/context: Reload testlayer_path when meta-selftest isn't added

git at git.openembedded.org git at git.openembedded.org
Fri Jun 23 10:44:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit d1120849e12c46aa46b02905a3f43c0853bd11a0
Author: Aníbal Limón <anibal.limon at linux.intel.com>
AuthorDate: 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.
    
    Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/lib/oeqa/selftest/context.py | 1 +
 1 file changed, 1 insertion(+)

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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list