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

@@ -1324,9 +1324,9 @@ def __cleanupOptions():
if conf.dbms:
conf.dbms = conf.dbms.capitalize()
if conf.testFilter:
if not any([char in conf.testFilter for char in ('.', ')', '(', ']', '[')]):
conf.testFilter = conf.testFilter.replace('*', '.*')
if conf.tstF:
if not any([char in conf.tstF for char in ('.', ')', '(', ']', '[')]):
conf.tstF = conf.tstF.replace('*', '.*')
if conf.timeSec not in kb.explicitSettings:
if conf.tor:

View File

@@ -193,6 +193,7 @@ optDict = {
"mobile": "boolean",
"pageRank": "boolean",
"smart": "boolean",
"tstF": "string",
"wizard": "boolean",
"verbose": "integer"
},