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-25 15:01:21 +0100
commitb351f59c28b93ab287f3b1448c0bcfc22a99d461 (patch)
tree441e9fb88c6805b3da04095d29a761f21edad01c /scripts
parente450fa09a6c904ac837a05036bf2eab059e514d5 (diff)
downloadpoky-b351f59c28b93ab287f3b1448c0bcfc22a99d461.tar.gz
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: c833aba64f26546894a0c58d8a59db75d18e2ff7) 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):
87 print('------------------------------------------------------------------------\n') 87 print('------------------------------------------------------------------------\n')
88 for step in sorted((self.jdata[test_id]['test']['execution']).keys()): 88 for step in sorted((self.jdata[test_id]['test']['execution']).keys()):
89 print('Step %s: ' % step + self.jdata[test_id]['test']['execution']['%s' % step]['action']) 89 print('Step %s: ' % step + self.jdata[test_id]['test']['execution']['%s' % step]['action'])
90 print('Expected output: ' + self.jdata[test_id]['test']['execution']['%s' % step]['expected_results']) 90 expected_output = self.jdata[test_id]['test']['execution']['%s' % step]['expected_results']
91 done = input('\nPlease press ENTER when you are done to proceed to next step.\n') 91 if expected_output:
92 print('Expected output: ' + expected_output)
92 while True: 93 while True:
93 done = input('\nPlease provide test results: (P)assed/(F)ailed/(B)locked/(S)kipped? \n') 94 done = input('\nPlease provide test results: (P)assed/(F)ailed/(B)locked/(S)kipped? \n')
94 done = done.lower() 95 done = done.lower()