commit | f2f6ce65b79df6ec4ee427d51a18355a170f199b | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri Sep 11 18:01:28 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri Sep 11 18:01:28 2009 +0000 |
tree | 10febdb90407974203f9d08ab1180f7073ae459a | |
parent | 597f9797fd12bfede377de73ab89620842278105 [diff] |
Change tests from "opt %s" to "opt < %s" so that opt doesn't see the input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/CallGraph/2008-09-09-DirectCall.ll b/test/Analysis/CallGraph/2008-09-09-DirectCall.ll index 3977a5c..6e34209 100644 --- a/test/Analysis/CallGraph/2008-09-09-DirectCall.ll +++ b/test/Analysis/CallGraph/2008-09-09-DirectCall.ll
@@ -1,4 +1,4 @@ -; RUN: opt %s -print-callgraph -disable-output |& \ +; RUN: opt < %s -print-callgraph -disable-output |& \ ; RUN: grep {Calls function 'callee'} | count 2 define internal void @callee(...) {
diff --git a/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll b/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll index 2b7bae2..12849b7 100644 --- a/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll +++ b/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
@@ -1,4 +1,4 @@ -; RUN: opt %s -print-callgraph -disable-output |& \ +; RUN: opt < %s -print-callgraph -disable-output |& \ ; RUN: grep {Calls function} @a = global void ()* @f ; <void ()**> [#uses=0]