#NEWLINE# def main( ) : #NEWLINE# #INDENT# ' main test logic ' #NEWLINE# if ( Configuration . DEBUG == True ) : #NEWLINE# #INDENT# print ( 'TestRunner.py - main' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# print ( 'Debug messaging is OFF' ) #NEWLINE# #UNINDENT# logName = None #NEWLINE# if ( not ( logFileFromBAT == None ) ) : #NEWLINE# #INDENT# logName = logFileFromBAT #NEWLINE# Configuration . Logger = UnitTestUtilities . initializeLogger ( logFileFromBAT ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# logName = UnitTestUtilities . getLoggerName ( ) #NEWLINE# Configuration . Logger = UnitTestUtilities . initializeLogger ( logName ) #NEWLINE# #UNINDENT# print ( ( 'Logging results to: ' + str ( logName ) ) ) #NEWLINE# UnitTestUtilities . setUpLogFileHeader ( ) #NEWLINE# result = runTestSuite ( ) #NEWLINE# logTestResults ( result ) #NEWLINE# print ( 'END OF TEST =========================================\n' ) #NEWLINE# return