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 | b6f39cbba284d1adfa1505c29857e1ea3b3cfe13 (patch) | |
| tree | 9091bf39bea5ec6185e6e63dfdc3b03fbc1a5438 | |
| parent | 905ad3442d7ccdda10498f57402b7b548fcc1bbc (diff) | |
| download | bcm5719-llvm-b6f39cbba284d1adfa1505c29857e1ea3b3cfe13.tar.gz bcm5719-llvm-b6f39cbba284d1adfa1505c29857e1ea3b3cfe13.zip | |
[windows] Add retries to cope with linker/filesystem flakiness
Hopefully this fixes PR24554, and we receive less build spam.
llvm-svn: 246708
| -rw-r--r-- | compiler-rt/test/lit.common.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler-rt/test/lit.common.cfg b/compiler-rt/test/lit.common.cfg index 795435048fb..aa3fd03add5 100644 --- a/compiler-rt/test/lit.common.cfg +++ b/compiler-rt/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 |

