llvm-project/compiler-rt/unittests/lit_unittest_cfg_utils.py
Reid Kleckner f6e857c402 [lit] Fix Darwin pickling errors with process pools
For a function to be pickle-able, it has to be in the top-level of a
real Python module. So, I made one for this code snippet.

llvm-svn: 299738
2017-04-07 01:23:15 +00:00

5 lines
254 B
Python

# Put all 64-bit sanitizer tests in the darwin-64bit-sanitizer parallelism
# group. This will only run three of them concurrently.
def darwin_sanitizer_parallelism_group_func(test):
return "darwin-64bit-sanitizer" if "x86_64" in test.file_path else ""