diff options
author | Yeoh Ee Peng <ee.peng.yeoh@intel.com> | 2019-04-04 16:48:36 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-04 22:57:32 +0100 |
commit | 6401dfb6fac227ed50a6a61bda84da59283f8537 (patch) | |
tree | 5bccb182acb4928922714ecc631d59cb63a9756e /scripts | |
parent | 8262db1c27f2a9f51989f3b3672d531966195c12 (diff) | |
download | poky-6401dfb6fac227ed50a6a61bda84da59283f8537.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: e44c9a018c13208fef0dcef4479ce71977628cd4)
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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/lib/resulttool/manualexecution.py | 5 |
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() |