Changeset a85e44c for src/tests


Ignore:
Timestamp:
Dec 6, 2017, 11:49:31 AM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
16988e8
Parents:
65197c2
Message:

test script can now exclude specific files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/test.py

    r65197c2 ra85e44c  
    4242        if includes:
    4343                test_list = [x for x in test_list if
    44                         x.path.startswith( tuple(includes) )
     44                        x.target().startswith( tuple(includes) )
    4545                ]
    4646
     
    4848        if excludes:
    4949                test_list = [x for x in test_list if not
    50                         x.path.startswith( tuple(excludes) )
     50                        x.target().startswith( tuple(excludes) )
    5151                ]
    5252
Note: See TracChangeset for help on using the changeset viewer.