summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/oe-selftest8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index 58d3b1ef8a..52366b1c8d 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe-selftest
@@ -146,6 +146,14 @@ def preflight_check():
146 log.error("You have buildhistory enabled already and this isn't recommended for selftest, please disable it first.") 146 log.error("You have buildhistory enabled already and this isn't recommended for selftest, please disable it first.")
147 return False 147 return False
148 148
149 if get_bb_var("PRSERV_HOST"):
150 log.error("Please unset PRSERV_HOST in order to run oe-selftest")
151 return False
152
153 if get_bb_var("SANITY_TESTED_DISTROS"):
154 log.error("Please unset SANITY_TESTED_DISTROS in order to run oe-selftest")
155 return False
156
149 log.info("Running bitbake -p") 157 log.info("Running bitbake -p")
150 runCmd("bitbake -p") 158 runCmd("bitbake -p")
151 159