Skip to content
Snippets Groups Projects
Commit dedb06b2 authored by Bob Lantz's avatar Bob Lantz
Browse files

Wait for crlf after OK/FAILED for better -v output

parent 5fc3f57e
No related branches found
No related tags found
No related merge requests found
...@@ -509,7 +509,7 @@ def coreTest( vm, prompt=Prompt ): ...@@ -509,7 +509,7 @@ def coreTest( vm, prompt=Prompt ):
# know the time for each test, which means that this # know the time for each test, which means that this
# script will have to change as we add more tests. # script will have to change as we add more tests.
for test in range( 0, 2 ): for test in range( 0, 2 ):
if vm.expect( [ 'OK', 'FAILED', pexpect.TIMEOUT ], timeout=180 ) == 0: if vm.expect( [ 'OK.*\r\n', 'FAILED.*\r\n', pexpect.TIMEOUT ], timeout=180 ) == 0:
log( '* Test', test, 'OK' ) log( '* Test', test, 'OK' )
else: else:
log( '* Test', test, 'FAILED' ) log( '* Test', test, 'FAILED' )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment