aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/clang_cpp.c
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-04-10 21:10:39 +0000
committerReid Kleckner <reid@kleckner.net>2013-04-10 21:10:39 +0000
commit2c5a38e3bc347de64f694671bbb1097bd6544456 (patch)
tree4b202fbf63567ade606ac61ecf48e0d1be0b6b9a /test/Driver/clang_cpp.c
parent0e7f2bb1810a4e5e62a8e247460cd26f981d0827 (diff)
FileCheck-ify some clang grep tests that use double quotes
The escaping interaction between Python and grep doesn't work on my system. This change fixes the tests for me. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179214 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/clang_cpp.c')
-rw-r--r--test/Driver/clang_cpp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Driver/clang_cpp.c b/test/Driver/clang_cpp.c
index 79b2f55131..bf31800566 100644
--- a/test/Driver/clang_cpp.c
+++ b/test/Driver/clang_cpp.c
@@ -1,4 +1,5 @@
// Verify that -include isn't included twice with -save-temps.
// RUN: %clang -S -o - %s -include %t.h -save-temps -### 2> %t.log
-// RUN: grep '"-include' %t.log | count 1
-
+// RUN: FileCheck %s < %t.log
+// CHECK: "-include
+// CHECK-NOT: "-include