tests/run-tests.py
branchstable
changeset 15940 4bc35496136f
parent 15859 44a371823f83
child 15941 af289d6cd422
equal deleted inserted replaced
15939:f57f891eb88e 15940:4bc35496136f
   596     f = open(test)
   596     f = open(test)
   597     t = f.readlines()
   597     t = f.readlines()
   598     f.close()
   598     f.close()
   599 
   599 
   600     script = []
   600     script = []
       
   601     if options.debug:
       
   602         script.append('set -x\n')
   601     if os.getenv('MSYSTEM'):
   603     if os.getenv('MSYSTEM'):
   602         script.append('alias pwd="pwd -W"\n')
   604         script.append('alias pwd="pwd -W"\n')
   603     for n, l in enumerate(t):
   605     for n, l in enumerate(t):
   604         if not l.endswith('\n'):
   606         if not l.endswith('\n'):
   605             l += '\n'
   607             l += '\n'