summaryrefslogtreecommitdiff
path: root/test/RegressTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/RegressTests.py')
-rwxr-xr-xtest/RegressTests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/RegressTests.py b/test/RegressTests.py
index 2d8ef8e8..b668e51f 100755
--- a/test/RegressTests.py
+++ b/test/RegressTests.py
@@ -85,7 +85,7 @@ class RegressFile(object):
test['command'] = self.transform_line(line)
line = self.fd.readline()
- return None
+ return test['command'] and test
def run_test(self, test):
use_stdin = False
@@ -180,9 +180,9 @@ if __name__ == '__main__':
tests = [os.path.join(tests, x)
for x in os.listdir(tests) if x.endswith('.test')]
if pool:
- harness.failed = sum(pool.map(do_test, tests, 1))
+ pool.map(do_test, tests, 1)
else:
- harness.failed = sum(map(do_test, tests))
+ map(do_test, tests)
else:
entry = RegressFile(tests)
entry.run_tests()