[clang] [clang] Fix darwin-related tests' REQUIRES annotation (PR #130138)

Steven Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 11 09:46:06 PDT 2025


================
@@ -18,7 +18,7 @@
 // RUN: c-index-test -test-load-source local %s -include %t.clang.h -fmodules -fmodules-cache-path=%t.mcp -Xclang -triple -Xclang x86_64-apple-darwin | FileCheck %s
 
 // FIXME: Still fails on at least some linux boxen.
-// REQUIRES: system-darwin
+// REQUIRES: system-darwin && target={{.*}}-darwin{{.*}}
----------------
cachemeifyoucan wrote:

I am interested how this failed since the triple is passed explicitly. Maybe the driver is not using the right "Toolchain" configuration?



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


More information about the cfe-commits mailing list