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

Daniel Dunbar daniel at zuster.org
Wed Jul 21 19:22:24 PDT 2010


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.





More information about the cfe-commits mailing list