[Lldb-commits] [lldb] [lldb-dap] Add external terminal support (PR #146950)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 3 12:37:45 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r HEAD~1...HEAD lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- test/API/tools/lldb-dap/launch/TestDAP_launch.py 2025-07-03 19:23:10.000000 +0000
+++ test/API/tools/lldb-dap/launch/TestDAP_launch.py 2025-07-03 19:37:15.159114 +0000
@@ -64,13 +64,11 @@
"""
Tests launching in terminal.
"""
program = self.getBuildArtifact("a.out")
self.create_debug_adapter()
- response = self.launch(
- program, runInTerminal="invalid", expectFailure=True
- )
+ response = self.launch(program, runInTerminal="invalid", expectFailure=True)
self.assertFalse(response["success"])
self.assertTrue(self.get_dict_value(response, ["body", "error", "showUser"]))
self.assertRegex(
response["body"]["error"]["format"],
r"unexpected value, expected 'console', 'integrated' or 'external' at arguments.runInTerminal",
``````````
</details>
https://github.com/llvm/llvm-project/pull/146950
More information about the lldb-commits
mailing list