Changeset 1155


Ignore:
Timestamp:
02/19/09 10:14:26 (5 years ago)
Author:
wehart
Message:

Fixing bugs in the pattern matching used to find xUnit files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pyutilib_th/runtests.py

    r1095 r1155  
    193193    # 
    194194    if os.path.exists(xunitdir): 
    195         p = re.compile('^.*TEST-([^\.]+)\.xml') 
    196         for file in glob.glob(xunitdir+os.sep+"TEST*.xml"): 
     195        p = re.compile('^.*TEST-(.+)\.xml') 
     196        for file in glob.glob(xunitdir+os.sep+"TEST-*.xml"): 
    197197            oldname = p.match(file).group(1) 
    198198            if oldname == "test": 
Note: See TracChangeset for help on using the changeset viewer.