From: Alexander Kornienko Date: Thu, 1 Jun 2017 11:41:21 +0000 (+0000) Subject: Make the clang-cl test less restrictive. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a06db1675442564976b5d3df6986aa3330337ef;p=clang Make the clang-cl test less restrictive. Make the test less restrictive to allow directory layout used in our test setup. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304408 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/cl-include.c b/test/Driver/cl-include.c index f89c483fab..d3dc006e57 100644 --- a/test/Driver/cl-include.c +++ b/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"