summaryrefslogtreecommitdiff
path: root/test/RegressTests.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-23 16:02:47 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-23 17:51:11 -0400
commita995090b9e43bab01643abca59dc0f66c56925ba (patch)
tree8048d4a2c9ad7e47ad8d5e9269fa5ad1c3996fae /test/RegressTests.py
parent8ced9df08fdfc293023b9ef624d7b5bb8c4fb3c9 (diff)
downloadfork-ledger-a995090b9e43bab01643abca59dc0f66c56925ba.tar.gz
fork-ledger-a995090b9e43bab01643abca59dc0f66c56925ba.tar.bz2
fork-ledger-a995090b9e43bab01643abca59dc0f66c56925ba.zip
'make check' for gcov shouldn't listen to -j
Diffstat (limited to 'test/RegressTests.py')
-rwxr-xr-xtest/RegressTests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/RegressTests.py b/test/RegressTests.py
index f693bf5b..2d8ef8e8 100755
--- a/test/RegressTests.py
+++ b/test/RegressTests.py
@@ -179,7 +179,10 @@ if __name__ == '__main__':
if os.path.isdir(tests):
tests = [os.path.join(tests, x)
for x in os.listdir(tests) if x.endswith('.test')]
- harness.failed = sum(pool.map(do_test, tests, 1))
+ if pool:
+ harness.failed = sum(pool.map(do_test, tests, 1))
+ else:
+ harness.failed = sum(map(do_test, tests))
else:
entry = RegressFile(tests)
entry.run_tests()