mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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. (From OE-Core rev: acec5180b8d2731002979179e08439b615631e70) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -201,8 +201,8 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
|
|||||||
|
|
||||||
_add_layer_libs()
|
_add_layer_libs()
|
||||||
|
|
||||||
self.tc.logger.info("Running bitbake -p")
|
self.tc.logger.info("Running bitbake -e to test the configuration is valid/parsable")
|
||||||
runCmd("bitbake -p")
|
runCmd("bitbake -e")
|
||||||
|
|
||||||
def _internal_run(self, logger, args):
|
def _internal_run(self, logger, args):
|
||||||
self.module_paths = self._get_cases_paths(
|
self.module_paths = self._get_cases_paths(
|
||||||
|
|||||||
Reference in New Issue
Block a user