Changeset 3040


Ignore:
Timestamp:
Sep 23, 2010 9:19:59 PM (11 years ago)
Author:
wehart
Message:

Changing default semantics of '--cat'. Now, the default behavior is to execute with
the 'smoke' category. The user can specify all tests with '--cat=all'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.misc/trunk/coopr/misc/runtests.py

    r2924 r3040  
    4141
    4242    print "Running tests in directory",os.getcwd()
     43    if len(_options.cats) == 0:
     44        _options.cats = ['smoke']
     45    elif 'all' in _options.cats:
     46        _options.cats = []
    4347    if len(_options.cats) > 0:
    4448        os.environ['PYUTILIB_UNITTEST_CATEGORIES'] = ",".join(_options.cats)
Note: See TracChangeset for help on using the changeset viewer.