summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Liew <dan@su-root.co.uk>2019-06-26 00:35:51 +0000
committerDan Liew <dan@su-root.co.uk>2019-06-26 00:35:51 +0000
commit7b13b2dba921487dd03cb6d674533ee8859bf412 (patch)
treed2ded021dd9a514e815d9ac4776c05246eaa680c /test
parentc3fed978574b8fe3d3e69bd88b34943115789604 (diff)
downloadcompiler-rt-7b13b2dba921487dd03cb6d674533ee8859bf412.tar.gz
Add USan+ASan and UBSan+TSan tests to shadow-memory lit parallelism group.
Summary: Previously we were running these tests without the "shadow-memory" lit parallelism group even though we run the ASan and TSan tests in this group to avoid problems with many processes using shadow memory in parallel. On my local machine the UBSan+TSan tests would previously timeout if I set a 30 second per test limit. With this change I no longer see individual test timeouts. This change was made in response to the greendragon build bot reporting individual test timeouts for these tests. Given that the UBSan+ASan and UBSan+TSan tests did not have a parallelism group previously it's likely that some other change has caused the performance degradation. However I haven't been able to track down the cause so until we do, this change seems reasonable and is in line with what we already do with ASan and TSan tests. rdar://problem/51754620 Reviewers: yln, kubamracek, vsk, samsonov Subscribers: #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D63797 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@364366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/ubsan/lit.common.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ubsan/lit.common.cfg b/test/ubsan/lit.common.cfg
index e20832bd6..245bc55ef 100644
--- a/test/ubsan/lit.common.cfg
+++ b/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'