tests/run-tests.py
branchstable
changeset 1009 0c737b00568d
parent 1005 d86b26020b48
child 1015 0a583943b4b4
equal deleted inserted replaced
1008:f2a62458ef8b 1009:0c737b00568d
   552     if el == l: # perfect match (fast)
   552     if el == l: # perfect match (fast)
   553         return True
   553         return True
   554     if (el and
   554     if (el and
   555         (el.endswith(" (re)\n") and rematch(el[:-6] + '\n', l) or
   555         (el.endswith(" (re)\n") and rematch(el[:-6] + '\n', l) or
   556          el.endswith(" (glob)\n") and globmatch(el[:-8] + '\n', l) or
   556          el.endswith(" (glob)\n") and globmatch(el[:-8] + '\n', l) or
   557          el.endswith(" (esc)\n") and el.decode('string-escape') == l)):
   557          el.endswith(" (esc)\n") and
       
   558              el[:-7].decode('string-escape') + '\n' == l)):
   558         return True
   559         return True
   559     return False
   560     return False
   560 
   561 
   561 def tsttest(test, wd, options, replacements):
   562 def tsttest(test, wd, options, replacements):
   562     # We generate a shell script which outputs unique markers to line
   563     # We generate a shell script which outputs unique markers to line