diff options
Diffstat (limited to 'lld/test')
| -rw-r--r-- | lld/test/lit.cfg.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lld/test/lit.cfg.py b/lld/test/lit.cfg.py index 9989a1cc97a..7bc966c912f 100644 --- a/lld/test/lit.cfg.py +++ b/lld/test/lit.cfg.py @@ -45,6 +45,11 @@ tool_patterns = [ llvm_config.add_tool_substitutions(tool_patterns) +# LLD tests tend to be flaky on NetBSD, so add some retries. +# We don't do this on other platforms because it's slower. +if platform.system() in ['NetBSD']: + config.test_retry_attempts = 2 + # When running under valgrind, we mangle '-vg' onto the end of the triple so we # can check it with XFAIL and XTARGET. if lit_config.useValgrind: |

