diff options
Diffstat (limited to 'packages/Python/lldbsuite/test/python_api/watchpoint')
6 files changed, 7 insertions, 7 deletions
diff --git a/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py b/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py index cef8a0c4e81f..0236d4b2c6d8 100644 --- a/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py +++ b/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py @@ -36,7 +36,7 @@ class SetWatchpointAPITestCase(TestBase):      def test_watch_val(self):          """Exercise SBValue.Watch() API to set a watchpoint."""          self.build() -        exe = os.path.join(os.getcwd(), "a.out") +        exe = self.getBuildArtifact("a.out")          # Create a target by the debugger.          target = self.dbg.CreateTarget(exe) diff --git a/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py b/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py index 0d1ef809d291..603b7a805008 100644 --- a/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py +++ b/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py @@ -36,7 +36,7 @@ class WatchpointIgnoreCountTestCase(TestBase):      def test_set_watch_ignore_count(self):          """Test SBWatchpoint.SetIgnoreCount() API."""          self.build() -        exe = os.path.join(os.getcwd(), "a.out") +        exe = self.getBuildArtifact("a.out")          # Create a target by the debugger.          target = self.dbg.CreateTarget(exe) diff --git a/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py b/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py index ca5fca3acf9a..b9fc7ceb1af6 100644 --- a/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py +++ b/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py @@ -39,7 +39,7 @@ class WatchpointIteratorTestCase(TestBase):      def test_watch_iter(self):          """Exercise SBTarget.watchpoint_iter() API to iterate on the available watchpoints."""          self.build() -        exe = os.path.join(os.getcwd(), "a.out") +        exe = self.getBuildArtifact("a.out")          # Create a target by the debugger.          target = self.dbg.CreateTarget(exe) diff --git a/packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py b/packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py index 4b0216d7a602..bb32869543c7 100644 --- a/packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py +++ b/packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py @@ -42,7 +42,7 @@ class WatchpointConditionAPITestCase(TestBase):          """Test watchpoint condition API."""          self.build(dictionary=self.d)          self.setTearDownCleanup(dictionary=self.d) -        exe = os.path.join(os.getcwd(), self.exe_name) +        exe = self.getBuildArtifact(self.exe_name)          # Create a target by the debugger.          target = self.dbg.CreateTarget(exe) diff --git a/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py b/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py index e6bc9c0a7654..fdc8ac053d76 100644 --- a/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py +++ b/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py @@ -37,7 +37,7 @@ class SetWatchlocationAPITestCase(TestBase):      def test_watch_location(self):          """Exercise SBValue.WatchPointee() API to set a watchpoint."""          self.build() -        exe = os.path.join(os.getcwd(), "a.out") +        exe = self.getBuildArtifact("a.out")          # Create a target by the debugger.          target = self.dbg.CreateTarget(exe) diff --git a/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py b/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py index 80595060b42d..d5862d274ceb 100644 --- a/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py +++ b/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py @@ -36,7 +36,7 @@ class TargetWatchAddressAPITestCase(TestBase):      def test_watch_address(self):          """Exercise SBTarget.WatchAddress() API to set a watchpoint."""          self.build() -        exe = os.path.join(os.getcwd(), "a.out") +        exe = self.getBuildArtifact("a.out")          # Create a target by the debugger.          target = self.dbg.CreateTarget(exe) @@ -112,7 +112,7 @@ class TargetWatchAddressAPITestCase(TestBase):      def test_watch_address_with_invalid_watch_size(self):          """Exercise SBTarget.WatchAddress() API but pass an invalid watch_size."""          self.build() -        exe = os.path.join(os.getcwd(), "a.out") +        exe = self.getBuildArtifact("a.out")          # Create a target by the debugger.          target = self.dbg.CreateTarget(exe)  | 
