summaryrefslogtreecommitdiffstats
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index feffed9431..b8e5b02da0 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -627,11 +627,11 @@ def check_sanity_everybuild(status, d):
627 627
628 check_supported_distro(d) 628 check_supported_distro(d)
629 629
630 # Check if DISPLAY is set if IMAGETEST is set 630 # Check if DISPLAY is set if TEST_IMAGE is set
631 if d.getVar( 'IMAGETEST', True ) == 'qemu': 631 if d.getVar('TEST_IMAGE', True) == '1' or d.getVar('DEFAULT_TEST_SUITES', True):
632 display = d.getVar("BB_ORIGENV", False).getVar("DISPLAY", True) 632 display = d.getVar("BB_ORIGENV", False).getVar("DISPLAY", True)
633 if not display: 633 if not display:
634 status.addresult('qemuimagetest needs an X desktop to start qemu, please set DISPLAY correctly (e.g. DISPLAY=:1.0)\n') 634 status.addresult('testimage needs an X desktop to start qemu, please set DISPLAY correctly (e.g. DISPLAY=:1.0)\n')
635 635
636 omask = os.umask(022) 636 omask = os.umask(022)
637 if omask & 0755: 637 if omask & 0755: