Fix bug in unit test script
svn: r22770
This commit is contained in:
parent
4760c6bd21
commit
9d6354d311
@ -57,11 +57,12 @@ def getTestSuites():
|
|||||||
if len ([i for i in f[2] \
|
if len ([i for i in f[2] \
|
||||||
if i[-8:] == "_Test.py"]) ]
|
if i[-8:] == "_Test.py"]) ]
|
||||||
|
|
||||||
|
test_suites = []
|
||||||
|
perf_suites = []
|
||||||
|
|
||||||
for (dir,test_modules) in paths:
|
for (dir,test_modules) in paths:
|
||||||
sys.path.append(dir)
|
sys.path.append(dir)
|
||||||
|
|
||||||
test_suites = []
|
|
||||||
perf_suites = []
|
|
||||||
for module in test_modules:
|
for module in test_modules:
|
||||||
if module[-8:] != "_Test.py":
|
if module[-8:] != "_Test.py":
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user