aboutsummaryrefslogtreecommitdiffstats
path: root/test/LLVMC/HookWithInFile.td
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-12-15 07:21:14 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-12-15 07:21:14 +0000
commite1d483dade6f1675d9c2279fb9ae503858b89844 (patch)
tree7c376988345d1bc894aade373190826f4af9ab81 /test/LLVMC/HookWithInFile.td
parentd016c18182f165c7a967f1c5a6a343971bcd2465 (diff)
downloadexternal_llvm-e1d483dade6f1675d9c2279fb9ae503858b89844.zip
external_llvm-e1d483dade6f1675d9c2279fb9ae503858b89844.tar.gz
external_llvm-e1d483dade6f1675d9c2279fb9ae503858b89844.tar.bz2
Convert llvmc tests to FileCheck.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/LLVMC/HookWithInFile.td')
-rw-r--r--test/LLVMC/HookWithInFile.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/LLVMC/HookWithInFile.td b/test/LLVMC/HookWithInFile.td
index 7fb3df1..e15e43c 100644
--- a/test/LLVMC/HookWithInFile.td
+++ b/test/LLVMC/HookWithInFile.td
@@ -1,11 +1,12 @@
// Check that a hook can be given $INFILE as an argument.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
-// RUN: grep Hook\\(inFile.c_str\\(\\)\\) %t | count 1
+// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td"
def dummy_tool : Tool<[
+// CHECK: Hook(inFile.c_str())
(cmd_line "$CALL(Hook, '$INFILE')/path $INFILE"),
(in_language "dummy"),
(out_language "dummy")