diff options
author | Reid Kleckner <rnk@google.com> | 2015-09-02 20:45:36 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2015-09-02 20:45:36 +0000 |
commit | 38a6d1d485a808792d73967ef1ed9ec910d987a7 (patch) | |
tree | 60728113dd6df0f110844ef036e8c23b214c3e23 /test/lit.common.cfg | |
parent | c93a91ffe1482075edf9af00001d25401a32d525 (diff) |
[windows] Add retries to cope with linker/filesystem flakiness
Hopefully this fixes PR24554, and we receive less build spam.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@246708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.common.cfg')
-rw-r--r-- | test/lit.common.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lit.common.cfg b/test/lit.common.cfg index 795435048..aa3fd03ad 100644 --- a/test/lit.common.cfg +++ b/test/lit.common.cfg @@ -160,3 +160,8 @@ except OSError: if re.search(r'ON', llvm_config_cmd.stdout.read().decode('ascii')): config.available_features.add('asserts') llvm_config_cmd.wait() + +# Sanitizer tests tend to be flaky on Windows due to PR24554, so add some +# retries. We don't do this on otther platforms because it's slower. +if platform.system() == 'Windows': + config.test_retry_attempts = 2 |