[cfe-commits] r173714 - FileCheck'ize and merge tests

Dmitri Gribenko gribozavr at gmail.com
Mon Jan 28 12:40:50 PST 2013


Author: gribozavr
Date: Mon Jan 28 14:40:50 2013
New Revision: 173714

URL: http://llvm.org/viewvc/llvm-project?rev=173714&view=rev
Log:
FileCheck'ize and merge tests

Removed:
    cfe/trunk/test/Lexer/token-concat-2.c
Modified:
    cfe/trunk/test/Lexer/token-concat.c

Removed: cfe/trunk/test/Lexer/token-concat-2.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/token-concat-2.c?rev=173713&view=auto
==============================================================================
--- cfe/trunk/test/Lexer/token-concat-2.c (original)
+++ cfe/trunk/test/Lexer/token-concat-2.c (removed)
@@ -1,4 +0,0 @@
-// RUN: %clang_cc1 -E -x c -o - %s | grep '[.][*]'
-// PR4395
-#define X .*
-X

Modified: cfe/trunk/test/Lexer/token-concat.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/token-concat.c?rev=173714&r1=173713&r2=173714&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/token-concat.c (original)
+++ cfe/trunk/test/Lexer/token-concat.c Mon Jan 28 14:40:50 2013
@@ -1,4 +1,11 @@
-// RUN: %clang_cc1 -E -x c -o %t %s
-// RUN: grep 'IDENT.2' %t
+// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
 
 IDENT.2
+// CHECK: {{^}}IDENT.2{{$}}
+
+
+// PR4395
+#define X .*
+X
+// CHECK: {{^}}.*{{$}}
+





More information about the cfe-commits mailing list