Author: nico Date: Sat Mar 12 21:04:46 2016 New Revision: 263355 URL: http://llvm.org/viewvc/llvm-project?rev=263355&view=rev Log: Also test that the pch file is not printed in /showIncludes
Modified: cfe/trunk/test/Driver/cl-pch-showincludes.cpp Modified: cfe/trunk/test/Driver/cl-pch-showincludes.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-pch-showincludes.cpp?rev=263355&r1=263354&r2=263355&view=diff ============================================================================== --- cfe/trunk/test/Driver/cl-pch-showincludes.cpp (original) +++ cfe/trunk/test/Driver/cl-pch-showincludes.cpp Sat Mar 12 21:04:46 2016 @@ -16,6 +16,7 @@ // 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: {{.*pch}} // CHECK-YU-NOT: Note: including file: {{.*header1.h}} // CHECK-YU-NOT: Note: including file: {{.*header2.h}} // CHECK-YU: Note: including file: {{.+header3.h}} _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits