Changeset 612
- Timestamp:
- Oct 15, 2007 8:28:53 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/testScripts/nightlyBuild.py
r611 r612 142 142 143 143 emailMsg = "'" + cmd + "' from directory " + curDir + " failed.\n\n" 144 emailMsg += "Operating System: "+os.name 144 145 emailMsg += "'" + cmd + "' messages are:\n" 145 146 emailMsg += cmdMsgs … … 164 165 else : 165 166 writeLogMessage( "Failure reading pwFileName=" + SMTP_PASSWORD_FILENAME ) 166 print cmdMsgs167 167 sys.exit(1) 168 168 … … 209 209 retVal = 1 210 210 211 #--------------------------------------------------------------------- 211 212 # Some (project,buildStep) pairs require further checking 213 # to determine if they were successful 214 #--------------------------------------------------------------------- 215 # Clp's "./clp -unitTest -netlib dirNetlib=_NETLIBDIR_" 212 216 if project=='Clp' and buildStep==UNITTEST_CMD['Clp'] : 213 # Build Step is './clp -unitTest -netlib'214 217 # Check that last netlib test case ran by looking for message of form 215 218 # '../../Data/Netlib/woodw took 0.47 seconds using algorithm either' 216 219 reexp = r"(.|\n)*\.\.(\\|/)\.\.(\\|/)Data(\\|/)Netlib(\\|/)woodw took (\d*\.\d*) seconds using algorithm either(.|\n)*" 217 msgTail = rc[1][len(rc[1])-200:] 220 msgTail = rc[1][-200:] 221 if not re.compile(reexp).match(msgTail,1) : 222 # message not found, assume test failed 223 retVal = 1 224 elif project=='Cbc' and buildStep=='make test' : 225 # Check that last the last few lines are of the form 226 # 'cbc_clp solved 2 out of 2 and took XX.XX seconds.' 227 reexp=r"(.|\n)*cbc_clp solved 2 out of 2 and took (\d*\.\d*) seconds." 228 msgTail = rc[1][-300:] 218 229 if not re.compile(reexp).match(msgTail,1) : 219 230 # message not found, assume test failed
Note: See TracChangeset
for help on using the changeset viewer.