[libcxx-commits] [libcxx] [libc++] Move a few tests into more correct places (PR #147557)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 8 08:56:04 PDT 2025


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 HEAD~1...HEAD libcxx/utils/libcxx/test/format.py libcxx/test/extensions/clang/clang_modules_include.gen.py libcxx/test/extensions/libcxx/libcpp_version.gen.py libcxx/test/extensions/libcxx/no_assert_include.gen.py libcxx/test/std/double_include.gen.py libcxx/test/std/header_inclusions.gen.py
``````````

</details>

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

``````````diff
--- test/extensions/clang/clang_modules_include.gen.py	2025-06-30 12:07:51.000000 +0000
+++ test/extensions/clang/clang_modules_include.gen.py	2025-07-08 15:55:39.435424 +0000
@@ -14,10 +14,11 @@
 
 # block Lit from interpreting a RUN/XFAIL/etc inside the generation script
 # END.
 
 import sys
+
 sys.path.append(sys.argv[1])
 from libcxx.header_information import (
     lit_header_restrictions,
     lit_header_undeprecations,
     public_headers,
--- test/extensions/libcxx/libcpp_version.gen.py	2025-06-30 12:07:51.000000 +0000
+++ test/extensions/libcxx/libcpp_version.gen.py	2025-07-08 15:55:39.443623 +0000
@@ -9,10 +9,11 @@
 # Test that all public headers define the _LIBCPP_VERSION macro.
 
 # RUN: %{python} %s %{libcxx-dir}/utils
 
 import sys
+
 sys.path.append(sys.argv[1])
 from libcxx.header_information import (
     lit_header_restrictions,
     lit_header_undeprecations,
     public_headers,
--- test/std/double_include.gen.py	2025-06-30 12:07:51.000000 +0000
+++ test/std/double_include.gen.py	2025-07-08 15:55:39.459763 +0000
@@ -15,10 +15,11 @@
 
 # Block Lit from interpreting a RUN/XFAIL/etc inside the generation script.
 # END.
 
 import sys
+
 sys.path.append(sys.argv[1])
 from libcxx.header_information import (
     lit_header_restrictions,
     lit_header_undeprecations,
     public_headers,

``````````

</details>


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


More information about the libcxx-commits mailing list