[Lldb-commits] [lldb] [LLDB][Minidump] Minidump erase file on failure (PR #108259)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 12 15:16:44 PDT 2024
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 c2b93e0671d8cfd6b1a24c6e1d7be290125b8974...33b647410bacca3e429d1021b8c8ef9ea14ddbe6 lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestProcessSaveCoreMinidump.py 2024-09-12 22:12:50.000000 +0000
+++ TestProcessSaveCoreMinidump.py 2024-09-12 22:16:14.872312 +0000
@@ -513,10 +513,12 @@
options.SetPluginName("minidump")
options.SetStyle(lldb.eSaveCoreCustomOnly)
# We set custom only and have no thread list and have no memory.
error = process.SaveCore(options)
self.assertTrue(error.Fail())
- self.assertIn("no valid address ranges found for core style", error.GetCString())
+ self.assertIn(
+ "no valid address ranges found for core style", error.GetCString()
+ )
self.assertTrue(not os.path.isfile(custom_file))
finally:
self.assertTrue(self.dbg.DeleteTarget(target))
``````````
</details>
https://github.com/llvm/llvm-project/pull/108259
More information about the lldb-commits
mailing list