--run-case is now case insensitive

This commit is contained in:
Bernardo Damele 2012-12-19 12:45:46 +00:00
parent b91c829103
commit 128597ee7e

View File

@ -129,7 +129,7 @@ def liveTest():
if case.hasAttribute("name"): if case.hasAttribute("name"):
name = case.getAttribute("name") name = case.getAttribute("name")
if conf.runCase and ((conf.runCase.isdigit() and conf.runCase != count) or not re.search(conf.runCase, name, re.DOTALL)): if conf.runCase and ((conf.runCase.isdigit() and conf.runCase != count) or not re.search(conf.runCase, name, re.DOTALL | re.I)):
continue continue
if case.getElementsByTagName("switches"): if case.getElementsByTagName("switches"):