commit | 3c7d3083e7c99a22ee4803048dfb86c7a57b1006 | [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 | a24946acb21bffc40e9054f7ac25eb9319b406d8 [diff] [blame] |
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/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll b/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll index b3ba851..b455fdd 100644 --- a/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll +++ b/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll
@@ -1,4 +1,4 @@ -; RUN: opt %s -functionattrs -S | grep readonly | count 2 +; RUN: opt < %s -functionattrs -S | grep readonly | count 2 define i32 @f() { entry: