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

Dmitri Gribenko gribozavr at gmail.com
Mon Jan 28 09:31:40 PST 2013


Author: gribozavr
Date: Mon Jan 28 11:31:40 2013
New Revision: 173697

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

Removed:
    cfe/trunk/test/Preprocessor/stringize_space2.c
Modified:
    cfe/trunk/test/Preprocessor/stringize_space.c

Modified: cfe/trunk/test/Preprocessor/stringize_space.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/stringize_space.c?rev=173697&r1=173696&r2=173697&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/stringize_space.c (original)
+++ cfe/trunk/test/Preprocessor/stringize_space.c Mon Jan 28 11:31:40 2013
@@ -1,4 +1,14 @@
-// RUN: %clang_cc1 -E %s | grep -- '-"" , - "" , -"" , - ""'
+// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
 
 #define A(b) -#b  ,  - #b  ,  -# b  ,  - # b
 A()
+
+// CHECK: {{^}}-"" , - "" , -"" , - ""{{$}}
+
+
+#define t(x) #x
+t(a
+c)
+
+// CHECK: {{^}}"a c"{{$}}
+

Removed: cfe/trunk/test/Preprocessor/stringize_space2.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/stringize_space2.c?rev=173696&view=auto
==============================================================================
--- cfe/trunk/test/Preprocessor/stringize_space2.c (original)
+++ cfe/trunk/test/Preprocessor/stringize_space2.c (removed)
@@ -1,6 +0,0 @@
-/* RUN: %clang_cc1 -E %s | grep 'a c'
- */
-#define t(x) #x
-t(a
-c)
-





More information about the cfe-commits mailing list