path: root/meta/lib
diff options
authorAnuj Mittal <>2018-07-28 16:53:16 +0800
committerRichard Purdie <>2018-07-30 12:44:28 +0100
commitdde7e2f590834aa8034f1371954f9b4fbc7a60b7 (patch)
treeea595ee84c0ab73e2b3685fd3a9377e2bcb6e5e5 /meta/lib
parent06d831d12fe2a2366480c79f4c018942937b753a (diff)
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] Signed-off-by: Anuj Mittal <> Signed-off-by: Ross Burton <>
Diffstat (limited to 'meta/lib')
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/ b/meta/lib/oeqa/selftest/
index 16812ba96e..3a70f9e77b 100644
--- a/meta/lib/oeqa/selftest/
+++ b/meta/lib/oeqa/selftest/
@@ -187,6 +187,10 @@ class OESelftestTestContextExecutor(OETestContextExecutor):"You have buildhistory enabled already and this isn't recommended for selftest, please disable it first.")
raise OEQAPreRun
+ if "rm_work.bbclass" in["BBINCLUDED"]:
+"You have rm_work enabled which isn't recommended while running oe-selftest. Please disable it before continuing.")
+ raise OEQAPreRun
if "PRSERV_HOST" in"Please unset PRSERV_HOST in order to run oe-selftest")
raise OEQAPreRun