Changeset 620
- Timestamp:
- Oct 15, 2007 10:28:40 PM (13 years ago)
- Location:
- branches/testScripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/testScripts/NBprojectConfig.py
r614 r620 40 40 PROJECT_EMAIL_ADDRS['Osi'] = 'mjs _AT_ ces _DOT_ clemson _DOT_ edu' 41 41 UNITTEST_DIR['Osi'] = os.path.join('Osi','test') 42 UNITTEST_CMD['Osi'] = './unitTest -testOsiSolverInterface'43 42 UNITTEST_CMD['Osi'] = './unitTest -testOsiSolverInterface -netlibDir=_NETLIBDIR_ -cerr2cout' 44 43 ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['Osi'] = ['make test',UNITTEST_CMD['Osi']] … … 50 49 #---------------------------------------------------------------------- 51 50 PROJECT_EMAIL_ADDRS['Cbc'] = 'jjforre _AT_ us _DOT_ ibm _DOT_ com' 51 UNITTEST_DIR['Cbc'] = os.path.join('Cbc','src') 52 UNITTEST_CMD['Cbc'] = './cbc -unitTest -miplib -dirMiplib=_MIPLIB3DIR_' 53 52 54 53 55 #---------------------------------------------------------------------- -
branches/testScripts/nightlyBuild.py
r617 r620 58 58 # message not found, assume test failed 59 59 retVal = 1 60 61 # Cbc's "make test" 60 62 elif project=='Cbc' and buildStep=='make test' : 61 63 # Check that last the last few lines are of the form … … 66 68 # message not found, assume test failed 67 69 retVal = 1 70 71 # Cbc's "./cbc -unitTest -miplib dirNetlib=_MIPLIB3DIR_" 72 elif project=='Cbc' and buildStep==NBprojectConfig.UNITTEST_CMD['Cbc'] : 73 if rc[0]>=0 and rc[0]<=2 : 74 # return code is between 0 and 2. 75 # Return code between 1 and 44 is the number of test cases that 76 # ended because maxnodes limit reached. John Forrest says if this 77 # is less than 3, the OK. 78 retVal=0 79 else : 80 retVal=1 68 81 69 82 return retVal
Note: See TracChangeset
for help on using the changeset viewer.