================
@@ -4,14 +4,14 @@
 // Test standard include paths
 // 
-----------------------------------------------------------------------------
 // RUN: %clang -### --target=hexagon-none-elf --cstdlib=picolibc \
-// RUN:   -ccc-install-dir %S/Inputs/hexagon_tree/Tools/bin %s 2>&1 | 
FileCheck -check-prefix=CHECK-C-INCLUDES %s
-// CHECK-C-INCLUDES: "-cc1" {{.*}} "-internal-isystem" 
"{{.*}}{{/|\\\\}}lib{{/|\\\\}}clang{{/|\\\\}}{{[0-9]+}}{{/|\\\\}}include"
+// RUN:   -ccc-install-dir %S/Inputs/hexagon_tree/Tools/bin %s 2>&1 | 
FileCheck -check-prefix=CHECK-C-INCLUDES -DRESOURCE_DIR=%clang-resource-dir %s
+// CHECK-C-INCLUDES: "-cc1" {{.*}} "-internal-isystem" 
"[[RESOURCE_DIR]]/include"
----------------
dyung wrote:

I think I figured out what you meant, but couldn't figure out a way to persist 
the value between different RUN line instances, so it didn't quite work.

https://github.com/llvm/llvm-project/pull/202475
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to