tests/run-tests.py
branchstable
changeset 22120 68a7ef4311ce
parent 21919 c350cff58444
child 22122 a6eddeda93f3
equal deleted inserted replaced
22106:e5dfa8689cf0 22120:68a7ef4311ce
  1818             else:
  1818             else:
  1819                 print "WARNING: Did not find prerequisite tool: %s " % p
  1819                 print "WARNING: Did not find prerequisite tool: %s " % p
  1820 
  1820 
  1821 if __name__ == '__main__':
  1821 if __name__ == '__main__':
  1822     runner = TestRunner()
  1822     runner = TestRunner()
       
  1823 
       
  1824     try:
       
  1825         import msvcrt
       
  1826         msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY)
       
  1827         msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
       
  1828         msvcrt.setmode(sys.stderr.fileno(), os.O_BINARY)
       
  1829     except ImportError:
       
  1830         pass
       
  1831 
  1823     sys.exit(runner.run(sys.argv[1:]))
  1832     sys.exit(runner.run(sys.argv[1:]))