]> granicus.if.org Git - clang/commitdiff
Make the clang-cl test less restrictive.
authorAlexander Kornienko <alexfh@google.com>
Thu, 1 Jun 2017 11:41:21 +0000 (11:41 +0000)
committerAlexander Kornienko <alexfh@google.com>
Thu, 1 Jun 2017 11:41:21 +0000 (11:41 +0000)
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

test/Driver/cl-include.c

index f89c483fabb67c77acea5a88cb3a2aa9e3f75fcd..d3dc006e575f1bc1099a2e438aec9762176a0494 100644 (file)
@@ -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"