tests/run-tests.py
branchstable
changeset 1044 23c6e5d22e79
parent 1039 7c2190b236cf
child 1045 0a2285b90e22
equal deleted inserted replaced
1043:93ced643068d 1044:23c6e5d22e79
   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'