mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
oeqa/selftest: check if rm_work is enabled
rm_work if enabled leads to some tests failing that rely on artifacts being present. Check if rm_work.bbclass is included and show an error and exit if it is. Fixes [YOCTO #12694] (From OE-Core rev: dde7e2f590834aa8034f1371954f9b4fbc7a60b7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
418b9261b3
commit
9f7923c7e0
@@ -187,6 +187,10 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
|
||||
self.tc.logger.error("You have buildhistory enabled already and this isn't recommended for selftest, please disable it first.")
|
||||
raise OEQAPreRun
|
||||
|
||||
if "rm_work.bbclass" in self.tc.td["BBINCLUDED"]:
|
||||
self.tc.logger.error("You have rm_work enabled which isn't recommended while running oe-selftest. Please disable it before continuing.")
|
||||
raise OEQAPreRun
|
||||
|
||||
if "PRSERV_HOST" in self.tc.td:
|
||||
self.tc.logger.error("Please unset PRSERV_HOST in order to run oe-selftest")
|
||||
raise OEQAPreRun
|
||||
|
||||
Reference in New Issue
Block a user