Changeset 639
- Timestamp:
- Oct 19, 2007 7:35:56 PM (13 years ago)
- Location:
- branches/testScripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/testScripts/NBcheckResult.py
r638 r639 81 81 # message found, assume test failed 82 82 retVal = 1 83 # Stdout should contain "Coin0008I WOODW read with 0 errors" in the last few lines 84 if not result['stdout'][-800:].find("Coin0008I WOODW read with 0 errors") : 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 83 84 if project=='DyLP' and buildStep==NBprojectConfig.UNITTEST_CMD['Osi'] or \ 85 project=='Osi' and buildStep==NBprojectConfig.UNITTEST_CMD['Osi'] : 86 87 # Look for pattern "<solver> solved NN out of 90 and took nnn.xx seconds" 88 r=r'((.+) solved (\d+) out of 90 and took (\d*\.\d*) seconds)' 89 osisSummaryResult=re.findall(r,result['stdout'][-800:]) 90 for osi in osisSummaryResult : 91 if int(osi[2])<90 : 92 #print osi[1]+" ran "+osi[2]+" out of 90 in "+osi[3]+" seconds" 93 retVal=1 96 94 97 95 return retVal -
branches/testScripts/NBprojectConfig.py
r627 r639 62 62 #---------------------------------------------------------------------- 63 63 PROJECT_EMAIL_ADDRS['OS'] = 'kipp _DOT_ martin _AT_ chicagogsb _DOT_ edu' 64 ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['OS'] = ['make test'] 64 65 65 66 #---------------------------------------------------------------------- -
branches/testScripts/NBuserConfig.py
r634 r639 110 110 'FlopC++','Ipopt','OS','CppAD'] 111 111 112 PROJECTS = ['FlopC++','Ipopt','OS','CppAD']113
Note: See TracChangeset
for help on using the changeset viewer.