[PATCH] D56053: Tolerate flaky LLD tests on NetBSD

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 23 08:42:17 PST 2018


krytarowski updated this revision to Diff 179448.
krytarowski added a comment.

- apply comment from review


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56053/new/

https://reviews.llvm.org/D56053

Files:
  test/lit.cfg.py


Index: test/lit.cfg.py
===================================================================
--- test/lit.cfg.py
+++ test/lit.cfg.py
@@ -45,6 +45,11 @@
 
 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:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56053.179448.patch
Type: text/x-patch
Size: 551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181223/7fdfa8a7/attachment.bin>


More information about the llvm-commits mailing list