From 600f35c0873a61f8cd02c0e5cc1495ce7785ea89 Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Wed, 12 Aug 2015 08:37:28 +0000 Subject: qemurunner.py: Performance improvements in run_serial This allow to search for the prompt after a command is run so it can avoid waiting for the timeout. Also corrected identation issues [YOCTO #8118] Signed-off-by: Mariano Lopez Signed-off-by: Ross Burton --- meta/lib/oeqa/utils/qemurunner.py | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 3e604d8155..04584474e7 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py @@ -284,14 +284,18 @@ class QemuRunner: stopread = False endtime = time.time()+5 while time.time()