mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
8262db1c27
commit
6401dfb6fa
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user