Changeset 638
- Timestamp:
- Oct 19, 2007 6:49:29 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/testScripts/NBcheckResult.py
r633 r638 74 74 # Messages should not contain: 75 75 # "*** xxxSolverInterface testing issue: whatever the problem is" 76 print "jp0"77 76 reexp=r'.*\*\*.+SolverInterface testing issue:.*' 78 77 if re.compile(reexp).match(result['stderr'],1) : 79 78 # message found, assume test failed 80 print "jp1"81 79 retVal = 1 82 80 if re.compile(reexp).match(result['stdout'],1) : 83 81 # message found, assume test failed 84 print "jp2"85 82 retVal = 1 86 83 # Stdout should contain "Coin0008I WOODW read with 0 errors" in the last few lines 87 84 if not result['stdout'][-800:].find("Coin0008I WOODW read with 0 errors") : 88 print "jp3"89 85 retVal = 1 86 # Look for pattern "<solver> solved NN out of 90 and took nnn seconds" 87 r=r'(solved \d+ out of 90 and took nnn seconds)' 88 osisSummaryResult=re.findall(r,result['stdout'][-800:]) 89 print 'JP0' 90 for osi in osisSummaryResult : 91 print osi 92 93 94 95 90 96 91 97 return retVal
Note: See TracChangeset
for help on using the changeset viewer.