def runTest(test_name, mode):
 global OUTPUT_COUNT
 OUTPUT_COUNT = (OUTPUT_COUNT + 1)
 if (TIME_LVL == TIME_MIN):
  (ec, errors) = runTestFast(test_name)
 else:
  (ec, errors) = runTestSlow(test_name, mode)
 if ec:
  if (OUTPUT_LVL == OUTPUT_MIN):
   print ('X' + test_name),
  else:
   print ' DCTB ', test_name, 'FAIL'
   if (OUTPUT_LVL == OUTPUT_MAX):
    print >>sys.stderr, errors
    print
  FAILED_LIST.append(((test_name + '; Exit Code=') + str(ec)))
 elif (OUTPUT_LVL == OUTPUT_MIN):
  print '.',
 else:
  print ' DCTB ', test_name, 'PASS'
 if ((OUTPUT_LVL == OUTPUT_MIN) and ((OUTPUT_COUNT % 25) == 0)):
  print

def runTest ( test_name , mode ) : global OUTPUT_COUNT OUTPUT_COUNT = ( OUTPUT_COUNT + 1 ) if ( TIME_LVL == TIME_MIN ) : ( ec , errors ) = runTestFast ( test_name ) else : ( ec , errors ) = runTestSlow ( test_name , mode ) if ec : if ( OUTPUT_LVL == OUTPUT_MIN ) : print ( 'X' + test_name ) , else : print ' DCTB ' , test_name , 'FAIL' if ( OUTPUT_LVL == OUTPUT_MAX ) : print >> sys . stderr , errors print FAILED_LIST . append ( ( ( test_name + '; Exit Code=' ) + str ( ec ) ) ) elif ( OUTPUT_LVL == OUTPUT_MIN ) : print '.' , else : print ' DCTB ' , test_name , 'PASS' if ( ( OUTPUT_LVL == OUTPUT_MIN ) and ( ( OUTPUT_COUNT % 25 ) == 0 ) ) : print
runs an individual ironpython test .