diff options
author | Nico Weber <nicolasweber@gmx.de> | 2016-03-13 02:48:51 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2016-03-13 02:48:51 +0000 |
commit | efe190a6eb8a841b8dde8fd81e0ead6e5144337a (patch) | |
tree | 69c589253a3508565f3f250ed43d7eab36a3b903 | |
parent | 4b5aedef16fc5faa78a2683d6a8fccfe9cefd84c (diff) | |
download | bcm5719-llvm-efe190a6eb8a841b8dde8fd81e0ead6e5144337a.tar.gz bcm5719-llvm-efe190a6eb8a841b8dde8fd81e0ead6e5144337a.zip |
Make test a bit stricter to check not just the file basename is printed.
llvm-svn: 263353
-rw-r--r-- | clang/test/Driver/cl-pch-showincludes.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Driver/cl-pch-showincludes.cpp b/clang/test/Driver/cl-pch-showincludes.cpp index db4fb7b7322..073710ac17c 100644 --- a/clang/test/Driver/cl-pch-showincludes.cpp +++ b/clang/test/Driver/cl-pch-showincludes.cpp @@ -9,13 +9,13 @@ // input itself) and header3.h (included directly, above) should be printed. // RUN: %clang_cl -Werror /showIncludes /I%S/Inputs /Ycheader2.h /FIheader2.h /Fp%t.pch /c -- %s 2>&1 \ // RUN: | FileCheck -check-prefix=CHECK-YC %s -// CHECK-YC: Note: including file: {{.*header2.h}} -// CHECK-YC: Note: including file: {{.*header1.h}} -// CHECK-YC: Note: including file: {{.*header3.h}} +// CHECK-YC: Note: including file: {{.+header2.h}} +// CHECK-YC: Note: including file: {{.+header1.h}} +// CHECK-YC: Note: including file: {{.+header3.h}} // When using the pch, only the direct include is printed. // RUN: %clang_cl -Werror /showIncludes /I%S/Inputs /Yuheader2.h /FIheader2.h /Fp%t.pch /c -- %s 2>&1 \ // RUN: | FileCheck -check-prefix=CHECK-YU %s // CHECK-YU-NOT: Note: including file: {{.*header1.h}} // CHECK-YU-NOT: Note: including file: {{.*header2.h}} -// CHECK-YU: Note: including file: {{.*header3.h}} +// CHECK-YU: Note: including file: {{.+header3.h}} |