diff options
Diffstat (limited to 'test/GenerateTests.py')
-rwxr-xr-x | test/GenerateTests.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/GenerateTests.py b/test/GenerateTests.py index 70baee28..61c31f5d 100755 --- a/test/GenerateTests.py +++ b/test/GenerateTests.py @@ -130,6 +130,7 @@ def run_gen_test(i): harness.success() else: harness.failure() + return harness.failed if multiproc: pool = Pool(jobs*2) @@ -137,7 +138,8 @@ else: pool = None if pool: - pool.map(run_gen_test, range(beg_range, end_range)) + harness.failed = sum(pool.map(run_gen_test, + range(beg_range, end_range))) else: for i in range(beg_range, end_range): run_gen_test(i) @@ -145,4 +147,5 @@ else: if pool: pool.close() pool.join() + harness.exit() |