tests: Mark expected FreeBSD failures due to pr16706

Watchpoints are not yet working on FreeBSD

llvm-svn: 187134
This commit is contained in:
Ed Maste 2013-07-25 17:23:10 +00:00
parent e15a8a49c4
commit 861fc207a9
16 changed files with 38 additions and 0 deletions

View File

@ -93,12 +93,14 @@ class ConcurrentEventsTestCase(TestBase):
self.buildDwarf(dictionary=self.getBuildFlags())
self.do_thread_actions(num_breakpoint_threads=1, num_watchpoint_threads=1)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_delay_watch_break_dwarf(self):
"""Test (1-second delay) watchpoint and a breakpoint in multiple threads."""
self.buildDwarf(dictionary=self.getBuildFlags())
self.do_thread_actions(num_breakpoint_threads=1, num_delay_watchpoint_threads=1)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_watch_break_dwarf(self):
"""Test watchpoint and a (1 second delay) breakpoint in multiple threads."""
@ -108,18 +110,21 @@ class ConcurrentEventsTestCase(TestBase):
#
## Tests for concurrent signal and watchpoint
#
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_signal_watch_dwarf(self):
"""Test a watchpoint and a signal in multiple threads."""
self.buildDwarf(dictionary=self.getBuildFlags())
self.do_thread_actions(num_signal_threads=1, num_watchpoint_threads=1)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_delay_signal_watch_dwarf(self):
"""Test a watchpoint and a (1 second delay) signal in multiple threads."""
self.buildDwarf(dictionary=self.getBuildFlags())
self.do_thread_actions(num_delay_signal_threads=1, num_watchpoint_threads=1)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_signal_delay_watch_dwarf(self):
"""Test a (1 second delay) watchpoint and a signal in multiple threads."""
@ -168,12 +173,14 @@ class ConcurrentEventsTestCase(TestBase):
self.buildDwarf(dictionary=self.getBuildFlags())
self.do_thread_actions(num_breakpoint_threads=2, num_delay_signal_threads=1)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_two_breakpoints_one_watchpoint_dwarf(self):
"""Test two threads that trigger a breakpoint and one watchpoint thread. """
self.buildDwarf(dictionary=self.getBuildFlags())
self.do_thread_actions(num_breakpoint_threads=2, num_watchpoint_threads=1)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_breakpoints_delayed_breakpoint_one_watchpoint_dwarf(self):
"""Test a breakpoint, a delayed breakpoint, and one watchpoint thread. """
@ -185,12 +192,14 @@ class ConcurrentEventsTestCase(TestBase):
#
## Tests for multiple watchpoint threads
#
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_two_watchpoint_threads_dwarf(self):
"""Test two threads that trigger a watchpoint. """
self.buildDwarf(dictionary=self.getBuildFlags())
self.do_thread_actions(num_watchpoint_threads=2)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_watchpoint_with_delay_waychpoint_threads_dwarf(self):
"""Test two threads that trigger a watchpoint where one thread has a 1 second delay. """
@ -198,18 +207,21 @@ class ConcurrentEventsTestCase(TestBase):
self.do_thread_actions(num_watchpoint_threads=1,
num_delay_watchpoint_threads=1)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_two_watchpoints_one_breakpoint_dwarf(self):
"""Test two threads that trigger a watchpoint and one breakpoint thread. """
self.buildDwarf(dictionary=self.getBuildFlags())
self.do_thread_actions(num_watchpoint_threads=2, num_breakpoint_threads=1)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_two_watchpoints_one_delay_breakpoint_dwarf(self):
"""Test two threads that trigger a watchpoint and one (1 second delay) breakpoint thread. """
self.buildDwarf(dictionary=self.getBuildFlags())
self.do_thread_actions(num_watchpoint_threads=2, num_delay_breakpoint_threads=1)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_watchpoint_delay_watchpoint_one_breakpoint_dwarf(self):
"""Test two threads that trigger a watchpoint (one with a 1 second delay) and one breakpoint thread. """
@ -218,6 +230,7 @@ class ConcurrentEventsTestCase(TestBase):
num_delay_watchpoint_threads=1,
num_breakpoint_threads=1)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_two_watchpoints_one_signal_dwarf(self):
"""Test two threads that trigger a watchpoint and one signal thread. """
@ -243,6 +256,7 @@ class ConcurrentEventsTestCase(TestBase):
num_watchpoint_threads=5,
num_breakpoint_threads=5)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_signal_watch_break_dwarf(self):
"""Test with 5 watchpoint and breakpoint threads."""
@ -261,6 +275,7 @@ class ConcurrentEventsTestCase(TestBase):
self.buildDwarf(dictionary=self.getBuildFlags())
self.do_thread_actions(num_crash_threads=1, num_breakpoint_threads=1)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_crash_with_watchpoint_dwarf(self):
""" Test a thread that crashes while another thread hits a watchpoint."""
@ -274,6 +289,7 @@ class ConcurrentEventsTestCase(TestBase):
self.buildDwarf(dictionary=self.getBuildFlags())
self.do_thread_actions(num_crash_threads=1, num_signal_threads=1)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_crash_with_watchpoint_breakpoint_signal_dwarf(self):
""" Test a thread that crashes while other threads generate a signal and hit a watchpoint and breakpoint. """
@ -283,6 +299,7 @@ class ConcurrentEventsTestCase(TestBase):
num_signal_threads=1,
num_watchpoint_threads=1)
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_delayed_crash_with_breakpoint_watchpoint_dwarf(self):
""" Test a thread with a delayed crash while other threads hit a watchpoint and a breakpoint. """

View File

@ -21,6 +21,7 @@ class HelloWatchLocationTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.hello_watchlocation()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_hello_watchlocation_with_dwarf(self):
"""Test watching a location with '-x size' option."""

View File

@ -22,6 +22,7 @@ class HelloWatchpointTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.hello_watchpoint()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_hello_watchpoint_with_dwarf_using_watchpoint_set(self):
"""Test a simple sequence of watchpoint creation and watchpoint hit."""

View File

@ -21,6 +21,7 @@ class WatchpointForMultipleThreadsTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.hello_multiple_threads()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@skipIfGcc # causes intermittent gcc debian buildbot failures, skip until we can investigate
@dwarf_test
def test_watchpoint_multiple_threads_with_dwarf(self):
@ -37,6 +38,7 @@ class WatchpointForMultipleThreadsTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.hello_multiple_threads_wp_set_and_then_delete()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@skipIfGcc # causes intermittent gcc debian buildbot failures, skip until we can investigate
@dwarf_test
def test_watchpoint_multiple_threads_wp_set_and_then_delete_with_dwarf(self):

View File

@ -34,6 +34,7 @@ class WatchpointCommandsTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.normal_read_write_watchpoint()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_rw_watchpoint_with_dwarf(self):
"""Test read_write watchpoint and expect to stop two times."""
@ -49,6 +50,7 @@ class WatchpointCommandsTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.delete_read_write_watchpoint()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_rw_watchpoint_delete_with_dwarf(self):
"""Test delete watchpoint and expect not to stop for watchpoint."""
@ -64,6 +66,7 @@ class WatchpointCommandsTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.ignore_read_write_watchpoint()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_rw_watchpoint_set_ignore_count_with_dwarf(self):
"""Test watchpoint ignore count and expect to not to stop at all."""
@ -79,6 +82,7 @@ class WatchpointCommandsTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.read_write_watchpoint_disable_after_first_stop()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_rw_disable_after_first_stop__with_dwarf(self):
"""Test read_write watchpoint but disable it after the first stop."""
@ -94,6 +98,7 @@ class WatchpointCommandsTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.read_write_watchpoint_disable_then_enable()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_rw_disable_then_enable_with_dwarf(self):
"""Test read_write watchpoint, disable initially, then enable it."""

View File

@ -33,6 +33,7 @@ class WatchpointLLDBCommandTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.watchpoint_command()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_watchpoint_command_with_dwarf(self):
"""Test 'watchpoint command'."""
@ -48,6 +49,7 @@ class WatchpointLLDBCommandTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.watchpoint_command_can_disable_a_watchpoint()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_watchpoint_command_can_disable_a_watchpoint_with_dwarf(self):
"""Test that 'watchpoint command' action can disable a watchpoint after it is triggered."""

View File

@ -33,6 +33,7 @@ class WatchpointPythonCommandTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.watchpoint_command()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_watchpoint_command_with_dwarf(self):
"""Test 'watchpoint command'."""

View File

@ -33,6 +33,7 @@ class WatchpointConditionCmdTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.watchpoint_condition()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_watchpoint_cond_with_dwarf(self):
"""Test watchpoint condition."""

View File

@ -18,6 +18,7 @@ class TestWatchpointEvents (TestBase):
self.buildDsym()
self.step_over_stepping()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@python_api_test
@dwarf_test
def test_with_dwarf_and_python_api(self):

View File

@ -20,6 +20,7 @@ class WatchLocationUsingWatchpointSetTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.watchlocation_using_watchpoint_set()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_watchlocation_with_dwarf_using_watchpoint_set(self):
"""Test watching a location with 'watchpoint set expression -w write -x size' option."""

View File

@ -28,6 +28,7 @@ class SetWatchpointAPITestCase(TestBase):
self.buildDsym()
self.do_set_watchpoint()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@python_api_test
@dwarf_test
def test_watch_val_with_dwarf(self):

View File

@ -28,6 +28,7 @@ class WatchpointIgnoreCountTestCase(TestBase):
self.buildDsym()
self.do_watchpoint_ignore_count()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@python_api_test
@dwarf_test
def test_set_watch_ignore_count_with_dwarf(self):

View File

@ -28,6 +28,7 @@ class WatchpointIteratorTestCase(TestBase):
self.buildDsym()
self.do_watchpoint_iter()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@python_api_test
@dwarf_test
def test_watch_iter_with_dwarf(self):

View File

@ -33,6 +33,7 @@ class WatchpointConditionAPITestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.watchpoint_condition_api()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@dwarf_test
def test_watchpoint_cond_api_with_dwarf(self):
"""Test watchpoint condition API."""

View File

@ -30,6 +30,7 @@ class SetWatchlocationAPITestCase(TestBase):
self.buildDsym()
self.do_set_watchlocation()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@skipIfLinux # Sometimes passes, sometimes not.
@python_api_test
@dwarf_test

View File

@ -30,6 +30,7 @@ class TargetWatchAddressAPITestCase(TestBase):
self.buildDsym()
self.do_set_watchaddress()
@expectedFailureFreeBSD('llvm.org/pr16706') # Watchpoints fail on FreeBSD
@skipIfLinux # llvm.org/pr14323 - skip due to incomplete multi-threaded debug support
@python_api_test
@dwarf_test