[libcxx-commits] [libcxx] [llvm] [libc++][test] `ADDITIONAL_COMPILE_FLAGS` should be a space-separated list (PR #73541)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 27 21:08:16 PST 2023
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 7eccd5284290fea26df44fbc5a604b54e7b115a2..02c48b1d12cd55bc119f792219893a02c6851104 libcxx/utils/libcxx/test/format.py llvm/utils/lit/lit/TestRunner.py llvm/utils/lit/tests/unit/TestRunner.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- llvm/utils/lit/tests/unit/TestRunner.py 2023-11-28 05:05:10.000000 +0000
+++ llvm/utils/lit/tests/unit/TestRunner.py 2023-11-28 05:08:07.064907 +0000
@@ -107,11 +107,23 @@
def test_space_lists(self):
parsers = self.make_parsers()
self.parse_test(parsers)
space_list_parser = self.get_parser(parsers, "MY_SPACE_LIST:")
- self.assertEqual(space_list_parser.getValue(), ["orange", "tabby", "tortie", "tuxedo", "void", "cute,", "fluffy,", "kittens"])
+ self.assertEqual(
+ space_list_parser.getValue(),
+ [
+ "orange",
+ "tabby",
+ "tortie",
+ "tuxedo",
+ "void",
+ "cute,",
+ "fluffy,",
+ "kittens",
+ ],
+ )
def test_commands(self):
parsers = self.make_parsers()
self.parse_test(parsers)
cmd_parser = self.get_parser(parsers, "MY_RUN:")
``````````
</details>
https://github.com/llvm/llvm-project/pull/73541
More information about the libcxx-commits
mailing list