- Timestamp:
- Nov 16, 2007 8:42:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/testScripts/NBcheckResult.py
r763 r778 52 52 retVal = None 53 53 # Is the success message contained in the output? 54 if result['stdout'][- 200:].rfind("*** Done! ***") == -1 :54 if result['stdout'][-500:].rfind("*** Done! ***") == -1 : 55 55 # Success message not found, assume test failed 56 56 retVal = "The output does not end with the message: '*** Done! ***'" … … 63 63 retVal = None 64 64 reexp = r"(.|\n)*(\\|/)Data(\\|/)Netlib(\\|/)woodw took (\d*\.\d*) seconds using algorithm either(.|\n)*" 65 msgTail = result['stdout'][- 200:]65 msgTail = result['stdout'][-500:] 66 66 if not re.compile(reexp).match(msgTail,1) : 67 67 # message not found, assume test failed
Note: See TracChangeset
for help on using the changeset viewer.