From: Mikhail Glushenkov Date: Tue, 15 Dec 2009 03:04:14 +0000 (+0000) Subject: Pipe 'grep' output to 'count'. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b5fab402d02671f92ea7fc6166ba80e00d6a8388;p=oota-llvm.git Pipe 'grep' output to 'count'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91403 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/LLVMC/Init.td b/test/LLVMC/Init.td index fbed6d413aa..d9a4fc1c1b1 100644 --- a/test/LLVMC/Init.td +++ b/test/LLVMC/Init.td @@ -1,7 +1,7 @@ // Check that (init true/false) and (init "str") work. // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t -// RUN: grep cl::init("some-string") %t -// RUN: grep cl::init(true) %t +// RUN: grep cl::init(\\"some-string\\") %t | count 1 +// RUN: grep cl::init(true) %t | count 1 include "llvm/CompilerDriver/Common.td"