summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-09-18 17:48:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-18 17:52:04 +0100
commit4a224d31c81b89ada23d2f21b0d70c4ef41937e0 (patch)
tree4e80be1f44f71b2bca6e39d5bd85e42ee76d9a6b
parentdd2b2f93a99206e2b33b9a971b107dee0ffe4f54 (diff)
downloadpoky-4a224d31c81b89ada23d2f21b0d70c4ef41937e0.tar.gz
qemurunner: disable grabs in automated testing
Use the new QEMU_DONT_GRAB environment variable to disable grabs, finally/hopefully solving the random hangs that the autobuilder has been hitting for a while. [ YOCTO #5131 ] (From OE-Core rev: 32f9575a565f350649264c11eceba8311584b0fd) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index d362edeecb..256cf3c6a8 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -78,6 +78,9 @@ class QemuRunner:
78 else: 78 else:
79 os.environ["DEPLOY_DIR_IMAGE"] = self.deploy_dir_image 79 os.environ["DEPLOY_DIR_IMAGE"] = self.deploy_dir_image
80 80
81 # Set this flag so that Qemu doesn't do any grabs as SDL grabs interact
82 # badly with screensavers.
83 os.environ["QEMU_DONT_GRAB"] = "1"
81 self.qemuparams = 'bootparams="console=tty1 console=ttyS0,115200n8" qemuparams="-serial tcp:127.0.0.1:%s"' % self.serverport 84 self.qemuparams = 'bootparams="console=tty1 console=ttyS0,115200n8" qemuparams="-serial tcp:127.0.0.1:%s"' % self.serverport
82 if qemuparams: 85 if qemuparams:
83 self.qemuparams = self.qemuparams[:-1] + " " + qemuparams + " " + '\"' 86 self.qemuparams = self.qemuparams[:-1] + " " + qemuparams + " " + '\"'