diff --git a/compiler-rt/test/ubsan/lit.common.cfg b/compiler-rt/test/ubsan/lit.common.cfg index e20832bd655f..245bc55efe63 100644 --- a/compiler-rt/test/ubsan/lit.common.cfg +++ b/compiler-rt/test/ubsan/lit.common.cfg @@ -74,3 +74,7 @@ if config.host_os not in ['Linux', 'Darwin', 'FreeBSD', 'Windows', 'NetBSD', 'Su config.available_features.add('arch=' + config.target_arch) config.excludes = ['Inputs'] + +if "ubsan-asan" in config.available_features or "ubsan-tsan" in config.available_features: + if not config.parallelism_group: + config.parallelism_group = 'shadow-memory'