[Lldb-commits] [PATCH] Skip lldb-mi tests on FreeBSD for now

Ed Maste emaste at freebsd.org
Wed Feb 18 08:48:18 PST 2015


Thread race conditions in lldb-mi cause regular failures. Skip rather than xfail as otherwise each one has to wait for timeout.

http://reviews.llvm.org/D7727

Files:
  test/dotest.py

Index: test/dotest.py
===================================================================
--- test/dotest.py
+++ test/dotest.py
@@ -790,6 +790,12 @@
     if dont_do_python_api_test and just_do_python_api_test:
         usage(parser)
 
+    # Skip lldb-mi tests by default on FreeBSD as lldb-mi has thread race
+    # conditions that regularly cause large numbers of failures. Skip rather
+    # than XFAIL the tests otherwise each test has to wait for the timeout.
+    if sys.platform.startswith('freebsd') and not just_do_lldbmi_test:
+        dont_do_lldbmi_test = True
+
     # Do not specify both '-m' and '+m' at the same time.
     if dont_do_lldbmi_test and just_do_lldbmi_test:
         usage(parser)

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7727.20190.patch
Type: text/x-patch
Size: 710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150218/a17a86f6/attachment.bin>


More information about the lldb-commits mailing list