[Lldb-commits] [lldb] r206895 - Switch to Darwin decorator for tests that XPASS on FreeBSD

Ed Maste emaste at freebsd.org
Tue Apr 22 06:42:06 PDT 2014


Author: emaste
Date: Tue Apr 22 08:42:05 2014
New Revision: 206895

URL: http://llvm.org/viewvc/llvm-project?rev=206895&view=rev
Log:
Switch to Darwin decorator for tests that XPASS on FreeBSD

Since these tests pass on (at least some) other platforms, change the
decorators to @expectedFailureDwarwin.  Tested on FreeBSD with Clang 3.4
and libc++.

rdar://9980907
rdar://15367233

Modified:
    lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py
    lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py

Modified: lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py?rev=206895&r1=206894&r2=206895&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py (original)
+++ lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py Tue Apr 22 08:42:05 2014
@@ -17,7 +17,7 @@ class AssertingInferiorTestCase(TestBase
         self.inferior_asserting()
 
     @expectedFailurei386 # llvm.org/pr17384: lldb needs to be aware of linux-vdso.so to unwind stacks properly'
-    @unittest2.expectedFailure("rdar://15367233") # XPASS on FreeBSD w/ Clang 3.4 and libc++
+    @expectedFailureDarwin("rdar://15367233")
     def test_inferior_asserting_dwarf(self):
         """Test that lldb reliably catches the inferior asserting (command)."""
         self.buildDwarf()
@@ -70,7 +70,7 @@ class AssertingInferiorTestCase(TestBase
         self.inferior_asserting_step()
 
     @expectedFailurei386 # llvm.org/pr17384: lldb needs to be aware of linux-vdso.so to unwind stacks properly
-    @unittest2.expectedFailure("rdar://15367233") # XPASS on FreeBSD w/ Clang 3.4 and libc++
+    @expectedFailureDarwin("rdar://15367233")
     def test_inferior_asserting_step(self):
         """Test that lldb functions correctly after stepping through a call to assert()."""
         self.buildDwarf()

Modified: lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py?rev=206895&r1=206894&r2=206895&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py (original)
+++ lldb/trunk/test/lang/cpp/class_static/TestStaticVariables.py Tue Apr 22 08:42:05 2014
@@ -38,7 +38,7 @@ class StaticVariableTestCase(TestBase):
         self.buildDsym()
         self.static_variable_python()
 
-    @expectedFailureClang(9980907) # XPASS on FreeBSD w/ Clang 3.4 and libc++
+    @expectedFailureDarwin(9980907)
     @python_api_test
     @dwarf_test
     def test_with_dwarf_and_python_api(self):





More information about the lldb-commits mailing list