Commit 3b844671 authored by Zachary Turner's avatar Zachary Turner
Browse files

XFAIL Watchpoint tests on Windows.

https://llvm.org/pr24446 tracks getting these tests re-enabled.

llvm-svn: 244950
parent 4a8d6b3b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
"""
"""
Test lldb watchpoint that uses '-s size' to watch a pointed location with size.
"""

@@ -24,6 +24,7 @@ class HelloWatchLocationTestCase(TestBase):
    @expectedFailureFreeBSD("llvm.org/pr18832")
    @dwarf_test
    @expectedFailureAndroid(archs=['arm', 'aarch64']) # Watchpoints not supported
    @expectedFailureWindows("llvm.org/pr24446") # WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows
    def test_hello_watchlocation_with_dwarf(self):
        """Test watching a location with '-s size' option."""
        self.buildDwarf(dictionary=self.d)
+3 −1
Original line number Diff line number Diff line
"""
"""
Test that lldb watchpoint works for multiple threads.
"""

@@ -23,6 +23,7 @@ class WatchpointForMultipleThreadsTestCase(TestBase):

    @dwarf_test
    @expectedFailureAndroid(archs=['arm', 'aarch64']) # Watchpoints not supported
    @expectedFailureWindows("llvm.org/pr24446") # WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows
    def test_watchpoint_multiple_threads_with_dwarf(self):
        """Test that lldb watchpoint works for multiple threads."""
        self.buildDwarf()
@@ -39,6 +40,7 @@ class WatchpointForMultipleThreadsTestCase(TestBase):

    @dwarf_test
    @expectedFailureAndroid(archs=['arm', 'aarch64']) # Watchpoints not supported
    @expectedFailureWindows("llvm.org/pr24446") # WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows
    def test_watchpoint_multiple_threads_wp_set_and_then_delete_with_dwarf(self):
        """Test that lldb watchpoint works for multiple threads, and after the watchpoint is deleted, the watchpoint event should no longer fires."""
        self.buildDwarf()
+6 −1
Original line number Diff line number Diff line
"""
"""
Test watchpoint list, enable, disable, and delete commands.
"""

@@ -36,6 +36,7 @@ class WatchpointCommandsTestCase(TestBase):

    @dwarf_test
    @expectedFailureAndroid(archs=['arm', 'aarch64']) # Watchpoints not supported
    @expectedFailureWindows("llvm.org/pr24446") # WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows
    def test_rw_watchpoint_with_dwarf(self):
        """Test read_write watchpoint and expect to stop two times."""
        self.buildDwarf(dictionary=self.d)
@@ -52,6 +53,7 @@ class WatchpointCommandsTestCase(TestBase):

    @dwarf_test
    @expectedFailureAndroid(archs=['arm', 'aarch64']) # Watchpoints not supported
    @expectedFailureWindows("llvm.org/pr24446") # WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows
    def test_rw_watchpoint_delete_with_dwarf(self):
        """Test delete watchpoint and expect not to stop for watchpoint."""
        self.buildDwarf(dictionary=self.d)
@@ -68,6 +70,7 @@ class WatchpointCommandsTestCase(TestBase):

    @dwarf_test
    @expectedFailureAndroid(archs=['arm', 'aarch64']) # Watchpoints not supported
    @expectedFailureWindows("llvm.org/pr24446") # WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows
    def test_rw_watchpoint_set_ignore_count_with_dwarf(self):
        """Test watchpoint ignore count and expect to not to stop at all."""
        self.buildDwarf(dictionary=self.d)
@@ -84,6 +87,7 @@ class WatchpointCommandsTestCase(TestBase):

    @dwarf_test
    @expectedFailureAndroid(archs=['arm', 'aarch64']) # Watchpoints not supported
    @expectedFailureWindows("llvm.org/pr24446") # WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows
    def test_rw_disable_after_first_stop__with_dwarf(self):
        """Test read_write watchpoint but disable it after the first stop."""
        self.buildDwarf(dictionary=self.d)
@@ -100,6 +104,7 @@ class WatchpointCommandsTestCase(TestBase):

    @dwarf_test
    @expectedFailureAndroid(archs=['arm', 'aarch64']) # Watchpoints not supported
    @expectedFailureWindows("llvm.org/pr24446") # WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows
    def test_rw_disable_then_enable_with_dwarf(self):
        """Test read_write watchpoint, disable initially, then enable it."""
        self.buildDwarf(dictionary=self.d)
+3 −1
Original line number Diff line number Diff line
"""
"""
Test 'watchpoint command'.
"""

@@ -35,6 +35,7 @@ class WatchpointLLDBCommandTestCase(TestBase):

    @dwarf_test
    @expectedFailureAndroid(archs=['arm', 'aarch64']) # Watchpoints not supported
    @expectedFailureWindows("llvm.org/pr24446") # WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows
    def test_watchpoint_command_with_dwarf(self):
        """Test 'watchpoint command'."""
        self.buildDwarf(dictionary=self.d)
@@ -51,6 +52,7 @@ class WatchpointLLDBCommandTestCase(TestBase):

    @dwarf_test
    @expectedFailureAndroid(archs=['arm', 'aarch64']) # Watchpoints not supported
    @expectedFailureWindows("llvm.org/pr24446") # WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows
    def test_watchpoint_command_can_disable_a_watchpoint_with_dwarf(self):
        """Test that 'watchpoint command' action can disable a watchpoint after it is triggered."""
        self.buildDwarf(dictionary=self.d)
+2 −1
Original line number Diff line number Diff line
"""
"""
Test 'watchpoint command'.
"""

@@ -35,6 +35,7 @@ class WatchpointPythonCommandTestCase(TestBase):

    @dwarf_test
    @skipIfFreeBSD # timing out on buildbot
    @expectedFailureWindows("llvm.org/pr24446") # WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows
    @expectedFailureAndroid(archs=['arm', 'aarch64']) # Watchpoints not supported
    def test_watchpoint_command_with_dwarf(self):
        """Test 'watchpoint command'."""
Loading