[libcxx-commits] [libcxx] [llvm] [libc++] Optionally support filecheck-based tests (PR #165769)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 31 11:33:54 PDT 2025
================
@@ -355,6 +355,14 @@ def _mingwSupportsModules(cfg):
name="has-no-zdump",
when=lambda cfg: runScriptExitCode(cfg, ["zdump --version"]) != 0,
),
+ # Whether the `filecheck` executable is available. Note that this corresponds to
+ # a Python port of LLVM's FileCheck, not LLVM's actual FileCheck program, since
+ # that one requires building parts of LLVM that we don't want to build when merely
+ # testing libc++.
+ Feature(
+ name="has-filecheck",
+ when=lambda cfg: runScriptExitCode(cfg, ["filecheck --version"]) == 0,
+ ),
----------------
ldionne wrote:
The issue though is that we have to standardize on the case we're going to use in the tests. LLVM uses `FileCheck` and the Python port is `filecheck` (all lowercase).
https://github.com/llvm/llvm-project/pull/165769
More information about the libcxx-commits
mailing list