[Lldb-commits] [lldb] [lldb][test] Add flags useful for remote cross-platform testing to dotest.py (PR #93800)

via lldb-commits lldb-commits at lists.llvm.org
Thu May 30 03:28:42 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 70e189fbc96909d3841dd2bca4a2909345cd826f...771344c1003b5172ff4912b5263bc2a1d3678366 lldb/packages/Python/lldbsuite/test/builders/builder.py lldb/packages/Python/lldbsuite/test/configuration.py lldb/packages/Python/lldbsuite/test/dotest.py lldb/packages/Python/lldbsuite/test/dotest_args.py lldb/packages/Python/lldbsuite/test/lldbtest.py
``````````

</details>

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

``````````diff
--- builders/builder.py	2024-05-30 09:45:41.000000 +0000
+++ builders/builder.py	2024-05-30 10:28:17.612528 +0000
@@ -39,11 +39,11 @@
     def getTargetOsFlag(self, target_os):
         if target_os is None:
             target_os = configuration.target_os
         if target_os is None:
             return []
-        return ['OS=%s' % target_os]
+        return ["OS=%s" % target_os]
 
     def getMake(self, test_subdir, test_name):
         """Returns the invocation for GNU make.
         The first argument is a tuple of the relative path to the testcase
         and its filename stem."""

``````````

</details>


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


More information about the lldb-commits mailing list