[clang] 7f56488 - Fix for tests on Windows buildbot

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 5 18:26:07 PST 2023


Author: Brad Smith
Date: 2023-01-05T21:25:32-05:00
New Revision: 7f564882466787e5b93c9253d7dbcaf6ebd82f95

URL: https://github.com/llvm/llvm-project/commit/7f564882466787e5b93c9253d7dbcaf6ebd82f95
DIFF: https://github.com/llvm/llvm-project/commit/7f564882466787e5b93c9253d7dbcaf6ebd82f95.diff

LOG: Fix for tests on Windows buildbot

Added: 
    

Modified: 
    clang/test/Driver/netbsd.c
    clang/test/Driver/netbsd.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/netbsd.c b/clang/test/Driver/netbsd.c
index b59acf144fbc6..5d76aac525d9e 100644
--- a/clang/test/Driver/netbsd.c
+++ b/clang/test/Driver/netbsd.c
@@ -483,4 +483,4 @@
 // RUN:   | FileCheck %s --check-prefix=DRIVER-PASS-INCLUDES
 // DRIVER-PASS-INCLUDES:      "-cc1" {{.*}}"-resource-dir" "[[RESOURCE:[^"]+]]"
 // DRIVER-PASS-INCLUDES-SAME: {{^}} "-internal-isystem" "[[RESOURCE]]{{/|\\\\}}include"
-// DRIVER-PASS-INCLUDES-SAME: {{^}} "-internal-externc-isystem" "/usr/include"
+// DRIVER-PASS-INCLUDES-SAME: {{^}} "-internal-externc-isystem" "{{.*}}/usr/include"

diff  --git a/clang/test/Driver/netbsd.cpp b/clang/test/Driver/netbsd.cpp
index d6bd4a3c2dd87..ffc33e33700eb 100644
--- a/clang/test/Driver/netbsd.cpp
+++ b/clang/test/Driver/netbsd.cpp
@@ -345,4 +345,4 @@
 // RUN:   | FileCheck %s --check-prefix=DRIVER-PASS-INCLUDES
 // DRIVER-PASS-INCLUDES:      "-cc1" {{.*}}"-resource-dir" "[[RESOURCE:[^"]+]]"
 // DRIVER-PASS-INCLUDES:      "-internal-isystem" "[[RESOURCE]]{{/|\\\\}}include"
-// DRIVER-PASS-INCLUDES:      "-internal-externc-isystem" "/usr/include"
+// DRIVER-PASS-INCLUDES:      "-internal-externc-isystem" "{{.*}}/usr/include"


        


More information about the cfe-commits mailing list