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:
Vassilii Khachaturov 2013-08-01 14:06:43 +00:00
parent 3a77392cbb
commit 145d7de6d4

View File

@ -55,11 +55,11 @@ def getTestSuites():
if len ([i for i in f[2] \
if i[-8:] == "_Test.py"]) ]
test_suites = []
perf_suites = []
for (dir,test_modules) in paths:
sys.path.append(dir)
test_suites = []
perf_suites = []
for module in test_modules:
if module[-8:] != "_Test.py":
continue