[oe-commits] [openembedded-core] 04/06: selftest: Replace bitbake -p with bitbake -e

git at git.openembedded.org git at git.openembedded.org
Tue Aug 14 17:43:28 UTC 2018


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

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

commit 9787186ad060dc4401801acb64c05fe58cc68a30
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Aug 14 17:20:57 2018 +0000

    selftest: Replace bitbake -p with bitbake -e
    
    Parsing all the recipes is annoying when trying to re-execute oe-selftest
    and also unnecessary as its really just a sanity check. When the tests were
    originally being developed the guard was useful but less so now.
    
    Replace it with bitbake -e which is fast and checks the basic configuration
    is valid.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oeqa/selftest/context.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py
index 3a70f9e..c78947e 100644
--- a/meta/lib/oeqa/selftest/context.py
+++ b/meta/lib/oeqa/selftest/context.py
@@ -201,8 +201,8 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
 
         _add_layer_libs()
 
-        self.tc.logger.info("Running bitbake -p")
-        runCmd("bitbake -p")
+        self.tc.logger.info("Running bitbake -e to test the configuration is valid/parsable")
+        runCmd("bitbake -e")
 
     def _internal_run(self, logger, args):
         self.module_paths = self._get_cases_paths(

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


More information about the Openembedded-commits mailing list