commit | fb9ce27051f9df1a3f43e43154d0443f06f80287 | [log] [tgz] |
---|---|---|
author | Jeffrey Townsend <jeffrey.townsend@bigswitch.com> | Tue Oct 02 21:10:29 2012 -0700 |
committer | Jeffrey Townsend <jeffrey.townsend@bigswitch.com> | Tue Oct 02 21:10:29 2012 -0700 |
tree | 642d4401393d366d197e369741e333d4ad24f7e6 | |
parent | 1839b2529b6b220a5dc8422171180eafc16ecb80 [diff] [blame] |
Do not include tests with a negative priority.
diff --git a/tests/oft b/tests/oft index f59e99d..193b7a4 100755 --- a/tests/oft +++ b/tests/oft
@@ -468,7 +468,8 @@ desc = mod.__doc__.strip() desc = desc.split('\n')[0] for test in config["all_tests"][mod]: - print "%s.%s" % (mod.__name__, test) + if test_prio_get(mod, test) >= 0: + print "%s.%s" % (mod.__name__, test) sys.exit(0) # Generate the test suite