tests/run-tests.py
branchstable
changeset 1216 192cebcd59a0
parent 1215 62ff53b05730
child 1218 d29df508e187
equal deleted inserted replaced
1215:62ff53b05730 1216:192cebcd59a0
   540 
   540 
   541 def globmatch(el, l):
   541 def globmatch(el, l):
   542     # The only supported special characters are * and ? plus / which also
   542     # The only supported special characters are * and ? plus / which also
   543     # matches \ on windows. Escaping of these caracters is supported.
   543     # matches \ on windows. Escaping of these caracters is supported.
   544     if el + '\n' == l:
   544     if el + '\n' == l:
       
   545         if os.name == 'nt':
       
   546             # matching on "/" is not needed for this line
       
   547             iolock.acquire()
       
   548             print "\nInfo, unnecessary glob: %s (glob)" % el
       
   549             iolock.release()
   545         return True
   550         return True
   546     i, n = 0, len(el)
   551     i, n = 0, len(el)
   547     res = ''
   552     res = ''
   548     while i < n:
   553     while i < n:
   549         c = el[i]
   554         c = el[i]