[PATCH] D56053: Tolerate flaky LLD tests on NetBSD
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 23 13:23:37 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL350036: Tolerate flaky LLD tests on NetBSD (authored by kamil, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D56053?vs=179448&id=179452#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56053/new/
https://reviews.llvm.org/D56053
Files:
lld/trunk/test/lit.cfg.py
Index: lld/trunk/test/lit.cfg.py
===================================================================
--- lld/trunk/test/lit.cfg.py
+++ lld/trunk/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.179452.patch
Type: text/x-patch
Size: 581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181223/38298560/attachment.bin>
More information about the llvm-commits
mailing list