From 7f564882466787e5b93c9253d7dbcaf6ebd82f95 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 5 Jan 2023 21:24:36 -0500 Subject: [PATCH] Fix for tests on Windows buildbot --- clang/test/Driver/netbsd.c | 2 +- clang/test/Driver/netbsd.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/Driver/netbsd.c b/clang/test/Driver/netbsd.c index b59acf1..5d76aac 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 d6bd4a3..ffc33e3 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" -- 2.7.4