summaryrefslogtreecommitdiff
path: root/lib/spack/external/ctest_log_parser.py
diff options
context:
space:
mode:
authorJohn Parent <john.parent@kitware.com>2022-03-16 16:41:34 -0400
committerPeter Scheibel <scheibel1@llnl.gov>2022-03-17 09:01:01 -0700
commit4aee27816e7101753aeb392e868096236a26d84d (patch)
tree2a6099f9b5305997e71e397aa2fae7f624786b90 /lib/spack/external/ctest_log_parser.py
parente63b4f752a73a67d24802a21bdf4c8a931216d2e (diff)
downloadspack-4aee27816e7101753aeb392e868096236a26d84d.tar.gz
spack-4aee27816e7101753aeb392e868096236a26d84d.tar.bz2
spack-4aee27816e7101753aeb392e868096236a26d84d.tar.xz
spack-4aee27816e7101753aeb392e868096236a26d84d.zip
Windows Support: Testing Suite integration
Broaden support for execution of the test suite on Windows. General bug and review fixups
Diffstat (limited to 'lib/spack/external/ctest_log_parser.py')
-rw-r--r--lib/spack/external/ctest_log_parser.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/spack/external/ctest_log_parser.py b/lib/spack/external/ctest_log_parser.py
index d1c8db16c8..2b2746003a 100644
--- a/lib/spack/external/ctest_log_parser.py
+++ b/lib/spack/external/ctest_log_parser.py
@@ -71,8 +71,6 @@ from __future__ import division
import re
import math
import multiprocessing
-import sys
-import threading
import time
from contextlib import contextmanager
@@ -411,12 +409,7 @@ class CTestLogParser(object):
pool = multiprocessing.Pool(jobs)
try:
# this is a workaround for a Python bug in Pool with ctrl-C
- if sys.version_info >= (3, 2):
- max_timeout = threading.TIMEOUT_MAX
- else:
- max_timeout = 9999999
- results = pool.map_async(_parse_unpack, args, 1).get(max_timeout)
-
+ results = pool.map_async(_parse_unpack, args, 1).get(9999999)
errors, warnings, timings = zip(*results)
finally:
pool.terminate()