summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-14 17:20:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-15 09:33:53 +0100
commitacec5180b8d2731002979179e08439b615631e70 (patch)
treeb9c3824262fcd8ee8f8eb003dfb09563a8222482
parent5634f2fb1740732056d2c1a22717184ef94405bf (diff)
downloadopenembedded-core-contrib-acec5180b8d2731002979179e08439b615631e70.tar.gz
openembedded-core-contrib-acec5180b8d2731002979179e08439b615631e70.tar.bz2
openembedded-core-contrib-acec5180b8d2731002979179e08439b615631e70.zip
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@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/context.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py
index 3a70f9e77b..c78947e200 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(