Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/test.py

    r6044200 rf7d3215  
    1919
    2020        def matchTest(path):
    21                 match = re.search("^%s\/([\w\/\-_]*).expect\/([\w\-_]+)(\.[\w\-_]+)?\.txt$" % settings.SRCDIR, path)
     21                match = re.search("%s\/([\w\/\-_]*).expect\/([\w\-_]+)(\.[\w\-_]+)?\.txt" % settings.SRCDIR, path)
    2222                if match :
    2323                        test = Test()
     
    3434# reads the directory ./.expect and indentifies the tests
    3535def listTests( includes, excludes ):
     36        includes = [canonicalPath( i ) for i in includes] if includes else None
     37        excludes = [canonicalPath( i ) for i in excludes] if excludes else None
     38
    3639        # tests directly in the .expect folder will always be processed
    3740        test_list = findTests()
Note: See TracChangeset for help on using the changeset viewer.