Changeset 6044200 for tests/test.py


Ignore:
Timestamp:
Jan 11, 2019, 11:01:11 AM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
7bd3bf2
Parents:
1427e90
Message:

Tests now properly ignore expected files with bogus prefixes/suffixes
closes #116

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/test.py

    r1427e90 r6044200  
    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()
Note: See TracChangeset for help on using the changeset viewer.