[Lldb-commits] [lldb] r245747 - XFAIL Tests that require C++ exceptions on Windows.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 21 15:11:09 PDT 2015


Author: zturner
Date: Fri Aug 21 17:11:09 2015
New Revision: 245747

URL: http://llvm.org/viewvc/llvm-project?rev=245747&view=rev
Log:
XFAIL Tests that require C++ exceptions on Windows.

clang-cl does not yet support C++ exceptions, so these tests will
not even compile.

Re-enabling these tests is tracked by llvm.org/pr24538

Modified:
    lldb/trunk/test/api/multithreaded/TestMultithreaded.py
    lldb/trunk/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py
    lldb/trunk/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py

Modified: lldb/trunk/test/api/multithreaded/TestMultithreaded.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/api/multithreaded/TestMultithreaded.py?rev=245747&r1=245746&r2=245747&view=diff
==============================================================================
--- lldb/trunk/test/api/multithreaded/TestMultithreaded.py (original)
+++ lldb/trunk/test/api/multithreaded/TestMultithreaded.py Fri Aug 21 17:11:09 2015
@@ -22,6 +22,7 @@ class SBBreakpointCallbackCase(TestBase)
     @skipIfRemote
     @skipIfNoSBHeaders
     @expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.9"], archs=["x86_64"])
+    @expectedFailureWindows("llvm.org/pr24538") # clang-cl does not support throw or catch
     def test_breakpoint_callback(self):
         """Test the that SBBreakpoint callback is invoked when a breakpoint is hit. """
         self.build_and_test('driver.cpp test_breakpoint_callback.cpp',
@@ -30,6 +31,7 @@ class SBBreakpointCallbackCase(TestBase)
     @skipIfRemote
     @skipIfNoSBHeaders
     @expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.9"], archs=["x86_64"])
+    @expectedFailureWindows("llvm.org/pr24538") # clang-cl does not support throw or catch
     def test_sb_api_listener_event_description(self):
         """ Test the description of an SBListener breakpoint event is valid."""
         self.build_and_test('driver.cpp listener_test.cpp test_listener_event_description.cpp',
@@ -40,6 +42,7 @@ class SBBreakpointCallbackCase(TestBase)
     @skipIfNoSBHeaders
     @expectedFlakeyLinux # Driver occasionally returns '1' as exit status
     @expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.9"], archs=["x86_64"])
+    @expectedFailureWindows("llvm.org/pr24538") # clang-cl does not support throw or catch
     def test_sb_api_listener_event_process_state(self):
         """ Test that a registered SBListener receives events when a process
             changes state.
@@ -52,6 +55,7 @@ class SBBreakpointCallbackCase(TestBase)
     @skipIfRemote
     @skipIfNoSBHeaders
     @expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.8"], archs=["x86_64"])
+    @expectedFailureWindows("llvm.org/pr24538") # clang-cl does not support throw or catch
     def test_sb_api_listener_resume(self):
         """ Test that a process can be resumed from a non-main thread. """
         self.build_and_test('driver.cpp listener_test.cpp test_listener_resume.cpp',

Modified: lldb/trunk/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py?rev=245747&r1=245746&r2=245747&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py (original)
+++ lldb/trunk/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py Fri Aug 21 17:11:09 2015
@@ -23,6 +23,7 @@ class TestCPPExceptionBreakpoint (TestBa
         self.do_cpp_exception_bkpt ()
 
     @python_api_test
+    @expectedFailureWindows("llvm.org/pr24538") # clang-cl does not support throw or catch
     @dwarf_test
     def test_cpp_exception_breakpoint_with_dwarf(self):
         """Test setting and hitting the C++ exception breakpoint."""

Modified: lldb/trunk/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py?rev=245747&r1=245746&r2=245747&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py (original)
+++ lldb/trunk/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py Fri Aug 21 17:11:09 2015
@@ -20,6 +20,7 @@ class CPPBreakpointTestCase(TestBase):
         self.cpp_exceptions()
 
     @dwarf_test
+    @expectedFailureWindows("llvm.org/pr24538") # clang-cl does not support throw or catch
     def test_with_dwarf(self):
         """Test lldb exception breakpoint command for CPP."""
         self.buildDwarf()




More information about the lldb-commits mailing list