[libcxx-commits] [libcxx] [llvm] [libc++] Optionally support filecheck and split-file (PR #165769)

Aiden Grossman via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 7 13:38:48 PDT 2026


================
@@ -0,0 +1,16 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// REQUIRES: has-filecheck
+
+// Make sure that FileCheck fails when it should fail. This ensure that FileCheck
+// actually checks the content of the file.
+// XFAIL: *
----------------
boomanaiden154 wrote:

I'm wondering if it would be better to just use `not` here?

I usually like to think of reserving xfail for things that should eventually be passing, but not familiar with libc++ customs here.

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


More information about the libcxx-commits mailing list