summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-11-23 12:09:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-01 21:07:20 +0000
commit259d1d1889b9349498d3f995a09466ce89bd3fcf (patch)
tree7e27cb2dc744619f1d6ed7e2b3383fad1da80b93
parentb1d85f13e79f8a493b9849551357a1a5cf0d0fec (diff)
downloadopenembedded-core-259d1d1889b9349498d3f995a09466ce89bd3fcf.tar.gz
openembedded-core-259d1d1889b9349498d3f995a09466ce89bd3fcf.tar.bz2
openembedded-core-259d1d1889b9349498d3f995a09466ce89bd3fcf.zip
sanity: don't enforce DISPLAY for testimage
Now that qemurunner doesn't need DISPLAY set, let whether DISPLAY is set be up to the user. Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/sanity.bbclass8
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index ae86d261e7..ad9dda878a 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -749,14 +749,6 @@ def check_sanity_everybuild(status, d):
check_supported_distro(d)
- # Check if DISPLAY is set if TEST_IMAGE is set
- if d.getVar('TEST_IMAGE', True) == '1' or d.getVar('DEFAULT_TEST_SUITES', True):
- testtarget = d.getVar('TEST_TARGET', True)
- if testtarget == 'qemu' or testtarget == 'QemuTarget':
- display = d.getVar("BB_ORIGENV", False).getVar("DISPLAY", True)
- if not display:
- status.addresult('testimage needs an X desktop to start qemu, please set DISPLAY correctly (e.g. DISPLAY=:1.0)\n')
-
omask = os.umask(022)
if omask & 0755:
status.addresult("Please use a umask which allows a+rx and u+rwx\n")