Emit output of PCH consistency checking test case to a separate text file and grep that
llvm-svn: 98695
This commit is contained in:
parent
572a194c35
commit
5444aa6d3d
|
@ -5,15 +5,18 @@ const char *s2 = m0;
|
|||
// RUN: echo '#define m0 ""' > %t.h
|
||||
// RUN: %clang_cc1 -emit-pch -o %t.h.pch %t.h
|
||||
// RUN: echo '' > %t.h
|
||||
// RUN: not %clang_cc1 -include-pch %t.h.pch %s 2>&1 | grep "size of file"
|
||||
// RUN: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr
|
||||
// RUN: grep "size of file" %t.stderr
|
||||
|
||||
// RUN: echo '#define m0 000' > %t.h
|
||||
// RUN: %clang_cc1 -emit-pch -o %t.h.pch %t.h
|
||||
// RUN: echo '' > %t.h
|
||||
// RUN: not %clang_cc1 -include-pch %t.h.pch %s 2>&1 | grep "size of file"
|
||||
// RUN: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr
|
||||
// RUN: grep "size of file" %t.stderr
|
||||
|
||||
// RUN: echo '#define m0 000' > %t.h
|
||||
// RUN: echo "#define m1 'abcd'" >> %t.h
|
||||
// RUN: %clang_cc1 -emit-pch -o %t.h.pch %t.h
|
||||
// RUN: echo '' > %t.h
|
||||
// RUN: not %clang_cc1 -include-pch %t.h.pch %s 2>&1 | grep "size of file"
|
||||
// RUN: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr
|
||||
// RUN: grep "size of file" %t.stderr
|
||||
|
|
Loading…
Reference in New Issue