[libcxx-commits] [libcxx] [llvm] [libc++] Optionally support filecheck-based tests (PR #165769)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 19 13:06:11 PDT 2026
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 origin/main...HEAD libcxx/utils/libcxx/test/features/misc.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- misc.py 2026-03-19 20:03:59.000000 +0000
+++ misc.py 2026-03-19 20:05:34.761184 +0000
@@ -294,20 +294,19 @@
return 0;
}
""",
),
),
-
# Whether a `FileCheck` executable is available. Note that we intend not to depend
# on how that executable has been installed: we can either use the LLVM FileCheck
# executable or the `filecheck` Python port of the same utility.
Feature(
name="has-filecheck",
when=lambda cfg: runScriptExitCode(cfg, ["filecheck --version"]) == 0,
- actions=[AddSubstitution("%{filecheck}", "filecheck")]
+ actions=[AddSubstitution("%{filecheck}", "filecheck")],
),
Feature(
name="has-filecheck",
when=lambda cfg: runScriptExitCode(cfg, ["FileCheck --version"]) == 0,
- actions=[AddSubstitution("%{filecheck}", "FileCheck")]
+ actions=[AddSubstitution("%{filecheck}", "FileCheck")],
),
]
``````````
</details>
https://github.com/llvm/llvm-project/pull/165769
More information about the libcxx-commits
mailing list