commit | 830b44153279f760fded6870c3f9d2c75587af97 | [log] [tgz] |
---|---|---|
author | Dan Talayco <dan.talayco@bigswitch.com> | Tue Aug 23 22:49:21 2011 -0700 |
committer | Ed Swierk <eswierk@bigswitch.com> | Tue Mar 20 11:13:44 2012 -0700 |
tree | 0156e14368fdb96d2d28439384975246f5618b16 | |
parent | cf26b7a4bd60f6b47709aa34f33aac48e7ab0b61 [diff] [blame] |
Do not add non-default tests when module specified
diff --git a/tests/oft b/tests/oft index a56a9ea..bbbb0fa 100755 --- a/tests/oft +++ b/tests/oft
@@ -433,7 +433,8 @@ if ts_entry in config["mod_name_map"].keys(): mod = config["mod_name_map"][ts_entry] for test in config["all_tests"][mod]: - add_test(suite, mod, test) + if test_prio_get(mod, test) >= 0: + add_test(suite, mod, test) else: # Search for matching tests test_found = False for mod in config["all_tests"].keys():