mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 03:44:59 +00:00
[windows] Add retries to cope with linker/filesystem flakiness
Hopefully this fixes PR24554, and we receive less build spam. llvm-svn: 246708
This commit is contained in:
parent
905ad3442d
commit
b6f39cbba2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user