[cfe-commits] r109077 - /cfe/trunk/test/Lexer/preamble.c

Douglas Gregor dgregor at apple.com
Wed Jul 21 21:30:21 PDT 2010


Excellent, thanks!

Sent from my iPhone

On Jul 21, 2010, at 7:22 PM, Daniel Dunbar <daniel at zuster.org> wrote:

> Author: ddunbar
> Date: Wed Jul 21 21:22:24 2010
> New Revision: 109077
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=109077&view=rev
> Log:
> tests: Make FileCheck version check that preamble isn't longer than we expected.
> 
> Modified:
>    cfe/trunk/test/Lexer/preamble.c
> 
> Modified: cfe/trunk/test/Lexer/preamble.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/preamble.c?rev=109077&r1=109076&r2=109077&view=diff
> ==============================================================================
> --- cfe/trunk/test/Lexer/preamble.c (original)
> +++ cfe/trunk/test/Lexer/preamble.c Wed Jul 21 21:22:24 2010
> @@ -8,7 +8,6 @@
> #endif
> #pragma unknown
> #endif
> -
> #ifdef WIBBLE
> #include "honk"
> #else
> @@ -21,6 +20,7 @@
> // Inputs/preamble.txt, since we diff against it.
> 
> // RUN: %clang_cc1 -print-preamble %s > %t
> +// RUN: echo END. >> %t
> // RUN: FileCheck < %t %s
> // XFAIL: win32
> 
> @@ -34,5 +34,4 @@
> // CHECK-NEXT: #endif
> // CHECK-NEXT: #pragma unknown
> // CHECK-NEXT: #endif
> -
> -
> +// CHECK-NEXT: END.
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list