From c7a0b672b84635398788ed3313299a0863f107c2 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Thu, 1 Jun 2017 11:41:21 +0000 Subject: [PATCH] Make the clang-cl test less restrictive. Make the test less restrictive to allow directory layout used in our test setup. llvm-svn: 304408 --- clang/test/Driver/cl-include.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/Driver/cl-include.c b/clang/test/Driver/cl-include.c index f89c483fabb6..d3dc006e575f 100644 --- a/clang/test/Driver/cl-include.c +++ b/clang/test/Driver/cl-include.c @@ -2,10 +2,10 @@ // command-line option, e.g. on Mac where %s is commonly under /Users. // RUN: %clang_cl -### -- %s 2>&1 | FileCheck %s --check-prefix=BUILTIN -// BUILTIN: "-internal-isystem" "{{.*lib.*clang.*[0-9]\.[0-9].*include}}" +// BUILTIN: "-internal-isystem" "{{.*lib.*clang.*include}}" // RUN: %clang_cl -nobuiltininc -### -- %s 2>&1 | FileCheck %s --check-prefix=NOBUILTIN -// NOBUILTIN-NOT: "-internal-isystem" "{{.*lib.*clang.*[0-9]\.[0-9].*include}}" +// NOBUILTIN-NOT: "-internal-isystem" "{{.*lib.*clang.*include}}" // RUN: env INCLUDE=/my/system/inc %clang_cl -### -- %s 2>&1 | FileCheck %s --check-prefix=STDINC // STDINC: "-internal-isystem" "/my/system/inc"