[Lldb-commits] [lldb] [lldb][test] Remove home dir paths from core files used in tests (PR #201630)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 4 09:54:18 PDT 2026
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 origin/main...HEAD lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestLinuxCore.py 2026-06-04 16:51:08.000000 +0000
+++ TestLinuxCore.py 2026-06-04 16:53:42.430743 +0000
@@ -350,13 +350,11 @@
lldbutil.mkdir_p(os.path.dirname(executable))
shutil.copyfile("linux-i386.out", executable)
# Replace the original module path at /tmp/core and load the core
self.runCmd(
- "settings set target.object-map /tmp/core {}".format(
- tmp_object_map_root
- )
+ "settings set target.object-map /tmp/core {}".format(tmp_object_map_root)
)
target = self.dbg.CreateTarget(None)
process = target.LoadCore("linux-i386.core")
``````````
</details>
https://github.com/llvm/llvm-project/pull/201630
More information about the lldb-commits
mailing list