forked from OSchip/llvm-project
Make test a bit stricter to check not just the file basename is printed.
llvm-svn: 263353
This commit is contained in:
parent
4b5aedef16
commit
efe190a6eb
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue