Changeset 6044200


Ignore:
Timestamp:
Jan 11, 2019, 11:01:11 AM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
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.