[clang] Update remaining tests for usage of CLANG_RESOURCE_DIR (PR #202475)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 9 08:57:35 PDT 2026
================
@@ -5,10 +5,10 @@
// RUN: %clang_cc1 -triple x86_64-unknown-unknown \
// RUN: -iprefix %t.tmps/ -iwithprefix second \
// RUN: -isystem %t.tmps/first -v %s 2> %t.out
-// RUN: FileCheck %s < %t.out
+// RUN: FileCheck %s -DRESOURCE_DIR=%clang-resource-dir < %t.out
// CHECK: #include <...> search starts here:
// CHECK: {{.*}}.tmps/first
-// CHECK: {{/|\\}}clang{{/|\\}}{{[.0-9]+}}{{/|\\}}include
+// CHECK: [[RESOURCE_DIR]]{{[\/]}}include
----------------
dyung wrote:
It should, I'll put back the original separator regex.
https://github.com/llvm/llvm-project/pull/202475
More information about the cfe-commits
mailing list