Back-port Nick's fix from trunk
RunAllTests only discovered files in the last seen directory. It now discovers more, but they're broken (fix to the tests not back-ported yet). svn: r22790
This commit is contained in:
parent
3a77392cbb
commit
145d7de6d4
@ -55,11 +55,11 @@ 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