summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>2019-04-04 16:48:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-09 22:15:46 +0100
commit4a3d52537ab1f3eeed1d43668ba21e90a06a1a5d (patch)
tree2eb0fa19db6c3337eb948e0d6a6fff73c1b66956 /scripts
parent2147e148d19cf2f4caef08a1fa6b20f3f34ddbfe (diff)
downloadpoky-4a3d52537ab1f3eeed1d43668ba21e90a06a1a5d.tar.gz
poky-4a3d52537ab1f3eeed1d43668ba21e90a06a1a5d.tar.bz2
poky-4a3d52537ab1f3eeed1d43668ba21e90a06a1a5d.zip
resulttool/manualexecution: Enable display full steps without press enter
Current manualexecution required pressing enter button to show each step information, where this was wasting execution time. Enable display full steps without needing to any press enter button. (From OE-Core rev: 6bb181b1e5f14d166cab8023b14316e54012c583) Signed-off-by: Mazliana <mazliana.mohamad@intel.com> Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/lib/resulttool/manualexecution.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/lib/resulttool/manualexecution.py b/scripts/lib/resulttool/manualexecution.py
index 8ce7903892..07835407d5 100755
--- a/scripts/lib/resulttool/manualexecution.py
+++ b/scripts/lib/resulttool/manualexecution.py
@@ -87,8 +87,9 @@ class ManualTestRunner(object):
print('------------------------------------------------------------------------\n')
for step in sorted((self.jdata[test_id]['test']['execution']).keys()):
print('Step %s: ' % step + self.jdata[test_id]['test']['execution']['%s' % step]['action'])
- print('Expected output: ' + self.jdata[test_id]['test']['execution']['%s' % step]['expected_results'])
- done = input('\nPlease press ENTER when you are done to proceed to next step.\n')
+ expected_output = self.jdata[test_id]['test']['execution']['%s' % step]['expected_results']
+ if expected_output:
+ print('Expected output: ' + expected_output)
while True:
done = input('\nPlease provide test results: (P)assed/(F)ailed/(B)locked/(S)kipped? \n')
done = done.lower()