unhidding --test-filter

This commit is contained in:
Miroslav Stampar
2012-06-14 14:36:53 +00:00
parent d2dd47fb23
commit 76584ff0fa
5 changed files with 12 additions and 8 deletions

View File

@@ -139,8 +139,8 @@ def checkSqlInjection(place, parameter, value):
continue
# Skip tests if title is not included by the given filter
if conf.testFilter:
if not any(re.search(conf.testFilter, str(item), re.I) for item in [test.title, test.vector,\
if conf.tstF:
if not any(re.search(conf.tstF, str(item), re.I) for item in [test.title, test.vector,\
test.details.dbms if "details" in test and "dbms" in test.details else ""]):
debugMsg = "skipping test '%s' because " % title
debugMsg += "its name/vector/dbms is not included by the given filter"