diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-14 17:20:57 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-15 09:44:33 +0100 |
commit | 899a3694dea8dc43dcba0b1d1e0aafb446fbba20 (patch) | |
tree | c3d0675e193a49aac86b1d1d421168c6263695c3 /meta/lib/oeqa | |
parent | 8ae762ada1f0d321de88c6d69b75c928ca5a6803 (diff) | |
download | poky-899a3694dea8dc43dcba0b1d1e0aafb446fbba20.tar.gz |
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>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/selftest/context.py | 4 |
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): | |||
201 | 201 | ||
202 | _add_layer_libs() | 202 | _add_layer_libs() |
203 | 203 | ||
204 | self.tc.logger.info("Running bitbake -p") | 204 | self.tc.logger.info("Running bitbake -e to test the configuration is valid/parsable") |
205 | runCmd("bitbake -p") | 205 | runCmd("bitbake -e") |
206 | 206 | ||
207 | def _internal_run(self, logger, args): | 207 | def _internal_run(self, logger, args): |
208 | self.module_paths = self._get_cases_paths( | 208 | self.module_paths = self._get_cases_paths( |