[Lldb-commits] [lldb] [lldb] Add early CMake check for 'make' tool (PR #111531)

via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 9 04:20:08 PDT 2024


Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/111531 at github.com>


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 40b8a0fd174397e87925da3f1837d74d5d663a50...5e7bc2d26b54440936b3d756e12d708ae5218c4d lldb/packages/Python/lldbsuite/test/dotest.py lldb/test/API/lit.cfg.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- packages/Python/lldbsuite/test/dotest.py	2024-10-09 11:11:30.000000 +0000
+++ packages/Python/lldbsuite/test/dotest.py	2024-10-09 11:19:35.128595 +0000
@@ -270,11 +270,11 @@
         configuration.make_path = args.make
     elif platform_system == "FreeBSD" or platform_system == "NetBSD":
         configuration.make_path = "gmake"
     else:
         configuration.make_path = "make"
-    if ' ' in configuration.make_path:
+    if " " in configuration.make_path:
         configuration.make_path = f'"{configuration.make_path}"'
 
     if args.dsymutil:
         configuration.dsymutil = args.dsymutil
     elif platform_system == "Darwin":

``````````

</details>


https://github.com/llvm/llvm-project/pull/111531


More information about the lldb-commits mailing list