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/
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)
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to