FileCheck-ize these tests.
[oota-llvm.git] / test / Analysis / CallGraph / 2008-09-09-DirectCall.ll
index 784d6c7ba1b123ab1e9246ee0561477e91d95613..55d0be6f26fd1fe5e08640d8b6fcf280729e7f95 100644 (file)
@@ -1,5 +1,9 @@
-; RUN: opt < %s -print-callgraph -disable-output |& \
-; RUN:   grep {calls function 'callee'} | count 2
+; RUN: opt < %s -print-callgraph -disable-output |& FileCheck %s
+
+; CHECK: Call graph node <<null function>>
+; CHECK:  CS<{{.*}}> calls function 'callee'
+; CHECK: Call graph node for function: 'caller'
+; CHECK:  CS<{{.*}}> calls function 'callee'
 
 define internal void @callee(...) {
 entry: