Changeset 639 for branches/testScripts


Ignore:
Timestamp:
Oct 19, 2007 7:35:56 PM (12 years ago)
Author:
jpfasano
Message:

Updated checkResult to look for message suggested by Lou for Osi tests

Location:
branches/testScripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/NBcheckResult.py

    r638 r639  
    8181      # message found, assume test failed
    8282      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
    9694
    9795  return retVal
  • branches/testScripts/NBprojectConfig.py

    r627 r639  
    6262#----------------------------------------------------------------------
    6363PROJECT_EMAIL_ADDRS['OS'] = 'kipp _DOT_ martin _AT_ chicagogsb _DOT_ edu'
     64ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['OS'] = ['make test']
    6465
    6566#----------------------------------------------------------------------
  • branches/testScripts/NBuserConfig.py

    r634 r639  
    110110            'FlopC++','Ipopt','OS','CppAD']
    111111
    112 PROJECTS = ['FlopC++','Ipopt','OS','CppAD']
    113 
Note: See TracChangeset for help on using the changeset viewer.