summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py')
-rw-r--r--lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py17
1 files changed, 2 insertions, 15 deletions
diff --git a/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py b/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
index b6db8280c0e..9830dd19777 100644
--- a/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
+++ b/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
@@ -22,25 +22,12 @@ class SetWatchlocationAPITestCase(TestBase):
# This is for verifying that watch location works.
self.violating_func = "do_bad_thing_with_location";
- @skipUnlessDarwin
@python_api_test
- @dsym_test
- def test_watch_location_with_dsym(self):
- """Exercise SBValue.WatchPointee() API to set a watchpoint."""
- self.buildDsym()
- self.do_set_watchlocation()
-
- @python_api_test
- @dwarf_test
@expectedFailureAndroid(archs=['arm', 'aarch64']) # Watchpoints not supported
@expectedFailureWindows("llvm.org/pr24446") # WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows
- def test_watch_location_with_dwarf(self):
+ def test_watch_location(self):
"""Exercise SBValue.WatchPointee() API to set a watchpoint."""
- self.buildDwarf()
- self.do_set_watchlocation()
-
- def do_set_watchlocation(self):
- """Use SBValue.WatchPointee() to set a watchpoint and verify that the program stops later due to the watchpoint."""
+ self.build()
exe = os.path.join(os.getcwd(), "a.out")
# Create a target by the debugger.
OpenPOWER on IntegriCloud