summaryrefslogtreecommitdiffstats
path: root/scripts/oe-selftest
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-selftest')
-rwxr-xr-xscripts/oe-selftest4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index fb33c08512..0baf572c10 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe-selftest
@@ -134,6 +134,10 @@ def preflight_check():
log.error("You don't seem to have the meta-selftest layer in BBLAYERS")
return False
+ if "buildhistory.bbclass" in get_bb_var("BBINCLUDED"):
+ log.error("You have buildhistory enabled already and this isn't recommended for selftest, please disable it first.")
+ return False
+
log.info("Running bitbake -p")
runCmd("bitbake -p")