[llvm-commits] [llvm] r91403 - /llvm/trunk/test/LLVMC/Init.td
Mikhail Glushenkov
foldr at codedgers.com
Mon Dec 14 19:04:14 PST 2009
Author: foldr
Date: Mon Dec 14 21:04:14 2009
New Revision: 91403
URL: http://llvm.org/viewvc/llvm-project?rev=91403&view=rev
Log:
Pipe 'grep' output to 'count'.
Modified:
llvm/trunk/test/LLVMC/Init.td
Modified: llvm/trunk/test/LLVMC/Init.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/Init.td?rev=91403&r1=91402&r2=91403&view=diff
==============================================================================
--- llvm/trunk/test/LLVMC/Init.td (original)
+++ llvm/trunk/test/LLVMC/Init.td Mon Dec 14 21:04:14 2009
@@ -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"
More information about the llvm-commits
mailing list