From f2f6ce65b79df6ec4ee427d51a18355a170f199b Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 11 Sep 2009 18:01:28 +0000 Subject: 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 --- test/Transforms/PruneEH/2003-09-14-ExternalCall.ll | 2 +- test/Transforms/PruneEH/2003-11-21-PHIUpdate.ll | 2 +- test/Transforms/PruneEH/2008-06-02-Weak.ll | 2 +- test/Transforms/PruneEH/2008-09-05-CGUpdate.ll | 2 +- test/Transforms/PruneEH/recursivetest.ll | 2 +- test/Transforms/PruneEH/simplenoreturntest.ll | 2 +- test/Transforms/PruneEH/simpletest.ll | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'test/Transforms/PruneEH') diff --git a/test/Transforms/PruneEH/2003-09-14-ExternalCall.ll b/test/Transforms/PruneEH/2003-09-14-ExternalCall.ll index 2b46c76c43..679eafd593 100644 --- a/test/Transforms/PruneEH/2003-09-14-ExternalCall.ll +++ b/test/Transforms/PruneEH/2003-09-14-ExternalCall.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -prune-eh -S | grep invoke +; RUN: opt < %s -prune-eh -S | grep invoke declare void @External() diff --git a/test/Transforms/PruneEH/2003-11-21-PHIUpdate.ll b/test/Transforms/PruneEH/2003-11-21-PHIUpdate.ll index fe593d2012..a01070308b 100644 --- a/test/Transforms/PruneEH/2003-11-21-PHIUpdate.ll +++ b/test/Transforms/PruneEH/2003-11-21-PHIUpdate.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -prune-eh -disable-output +; RUN: opt < %s -prune-eh -disable-output define internal void @callee() { ret void diff --git a/test/Transforms/PruneEH/2008-06-02-Weak.ll b/test/Transforms/PruneEH/2008-06-02-Weak.ll index 2d6e6357ef..fb97ae8708 100644 --- a/test/Transforms/PruneEH/2008-06-02-Weak.ll +++ b/test/Transforms/PruneEH/2008-06-02-Weak.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -prune-eh -S | not grep nounwind +; RUN: opt < %s -prune-eh -S | not grep nounwind define weak void @f() { entry: diff --git a/test/Transforms/PruneEH/2008-09-05-CGUpdate.ll b/test/Transforms/PruneEH/2008-09-05-CGUpdate.ll index cbaa1176f1..347af8f846 100644 --- a/test/Transforms/PruneEH/2008-09-05-CGUpdate.ll +++ b/test/Transforms/PruneEH/2008-09-05-CGUpdate.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -prune-eh -inline -print-callgraph \ +; RUN: opt < %s -prune-eh -inline -print-callgraph \ ; RUN: -disable-output |& \ ; RUN: grep {Calls.*ce3806g__fxio__put__put_int64__4.1339} | count 2 %struct.FRAME.ce3806g = type { %struct.string___XUB, %struct.string___XUB, %struct.string___XUB, %struct.string___XUB } diff --git a/test/Transforms/PruneEH/recursivetest.ll b/test/Transforms/PruneEH/recursivetest.ll index af215aec1d..724c7cf224 100644 --- a/test/Transforms/PruneEH/recursivetest.ll +++ b/test/Transforms/PruneEH/recursivetest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -prune-eh -S | not grep invoke +; RUN: opt < %s -prune-eh -S | not grep invoke define internal i32 @foo() { invoke i32 @foo( ) diff --git a/test/Transforms/PruneEH/simplenoreturntest.ll b/test/Transforms/PruneEH/simplenoreturntest.ll index f13fef3f0f..6cdd42fff8 100644 --- a/test/Transforms/PruneEH/simplenoreturntest.ll +++ b/test/Transforms/PruneEH/simplenoreturntest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -prune-eh -S | not grep {ret i32} +; RUN: opt < %s -prune-eh -S | not grep {ret i32} declare void @noreturn() noreturn; diff --git a/test/Transforms/PruneEH/simpletest.ll b/test/Transforms/PruneEH/simpletest.ll index e081f6fe69..77c429dae6 100644 --- a/test/Transforms/PruneEH/simpletest.ll +++ b/test/Transforms/PruneEH/simpletest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -prune-eh -S | not grep invoke +; RUN: opt < %s -prune-eh -S | not grep invoke declare void @nounwind() nounwind -- cgit v1.2.3