Skip to content

[lldb] Update TestDelayedBreakpoint test to use the right setting#198751

Merged
felipepiovezan merged 1 commit into
llvm:mainfrom
felipepiovezan:felipe/updatedelayedtest
May 20, 2026
Merged

[lldb] Update TestDelayedBreakpoint test to use the right setting#198751
felipepiovezan merged 1 commit into
llvm:mainfrom
felipepiovezan:felipe/updatedelayedtest

Conversation

@felipepiovezan

Copy link
Copy Markdown
Contributor

This test should regardless of which setting is the default for delayed breakpoints.

This test should regardless of which setting is the default for delayed
breakpoints.
@felipepiovezan

Copy link
Copy Markdown
Contributor Author

This is just a test change, so I will go ahead and merge it.

@felipepiovezan
felipepiovezan enabled auto-merge (squash) May 20, 2026 10:54
@felipepiovezan
felipepiovezan merged commit 4813043 into llvm:main May 20, 2026
12 checks passed
@llvmorg-github-actions

Copy link
Copy Markdown

@llvm/pr-subscribers-lldb

Author: Felipe de Azevedo Piovezan (felipepiovezan)

Changes

This test should regardless of which setting is the default for delayed breakpoints.


Full diff: https://github.com/llvm/llvm-project/pull/198751.diff

1 Files Affected:

  • (modified) lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py (+2)
diff --git a/lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py b/lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py
index e6a6390f8f1b6..a3709fd62a202 100644
--- a/lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py
+++ b/lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py
@@ -9,6 +9,7 @@
 class TestDelayedBreakpoint(TestBase):
     def test(self):
         self.build()
+        self.runCmd("settings set target.process.use-delayed-breakpoints true")
         logfile = os.path.join(self.getBuildDir(), "log.txt")
         self.runCmd(f"log enable -f {logfile} gdb-remote packets")
 
@@ -45,6 +46,7 @@ def test(self):
 
     def test_eager_breakpoints(self):
         self.build()
+        self.runCmd("settings set target.process.use-delayed-breakpoints true")
         logfile = os.path.join(self.getBuildDir(), "log.txt")
         self.runCmd(f"log enable -f {logfile} gdb-remote packets")
 

@felipepiovezan
felipepiovezan deleted the felipe/updatedelayedtest branch May 20, 2026 11:59
felipepiovezan added a commit to felipepiovezan/llvm-project that referenced this pull request May 20, 2026
…vm#198751)

This test should regardless of which setting is the default for delayed
breakpoints.

(cherry picked from commit 4813043)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant