diff options
author | John Wiegley <johnw@newartisans.com> | 2011-02-12 17:07:51 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2011-02-12 17:55:56 -0500 |
commit | a69cd37fa240135eef2abd5f8a86760d3a0e9a15 (patch) | |
tree | a38422391dbfb7be808beeb1a2bd70c79fd2cc42 /test/RegressTests.py | |
parent | 30e830626b9fb3ef7684e29f90de4631d9bc2973 (diff) | |
download | fork-ledger-a69cd37fa240135eef2abd5f8a86760d3a0e9a15.tar.gz fork-ledger-a69cd37fa240135eef2abd5f8a86760d3a0e9a15.tar.bz2 fork-ledger-a69cd37fa240135eef2abd5f8a86760d3a0e9a15.zip |
Corrected regression test output
Diffstat (limited to 'test/RegressTests.py')
-rwxr-xr-x | test/RegressTests.py | 6 |
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() |