Ignore:
Timestamp:
Nov 12, 2007 11:03:11 AM (12 years ago)
Author:
jpfasano
Message:

Added checking for *Done*** at end of smiUnitTest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/NBcheckResult.py

    r730 r762  
    4545     result['stdout'].rfind("All tests completed successfully") == -1 :
    4646    # Success message not found, assume test failed
    47     retVal = "The output does not contain the messages: 'All tests completed successfully'"
     47    retVal = "The output does not contain the message: 'All tests completed successfully'"
     48  return retVal
     49
     50# Was "*** Done! ***" written at end?
     51def endWithStarDoneStar(result,project) :
     52  retVal = None
     53  # Is the success message contained in the output?
     54  if result['stdout'][-20:].rfind("*** Done! ***") == -1 :
     55    # Success message not found, assume test failed
     56    retVal = "The output does not end with the message: '*** Done! ***'"
    4857  return retVal 
    4958
Note: See TracChangeset for help on using the changeset viewer.