Changeset 778 for branches


Ignore:
Timestamp:
Nov 16, 2007 8:42:49 PM (12 years ago)
Author:
jpfasano
Message:

modified checkresult for SMI when directory paths are very long

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/NBcheckResult.py

    r763 r778  
    5252  retVal = None
    5353  # Is the success message contained in the output?
    54   if result['stdout'][-200:].rfind("*** Done! ***") == -1 :
     54  if result['stdout'][-500:].rfind("*** Done! ***") == -1 :
    5555    # Success message not found, assume test failed
    5656    retVal = "The output does not end with the message: '*** Done! ***'"
     
    6363  retVal = None
    6464  reexp = r"(.|\n)*(\\|/)Data(\\|/)Netlib(\\|/)woodw took (\d*\.\d*) seconds using algorithm either(.|\n)*"
    65   msgTail = result['stdout'][-200:]
     65  msgTail = result['stdout'][-500:]
    6666  if not re.compile(reexp).match(msgTail,1) :
    6767    # message not found, assume test failed
Note: See TracChangeset for help on using the changeset viewer.