aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-09 20:36:54 +0000
committerChris Lattner <sabre@nondot.org>2002-10-09 20:36:54 +0000
commit388f56d7dc808a1eba418e66188f65e0f2a493b7 (patch)
tree54caf9cb8799f14d3394833c6b3aa959bb9b88d7 /test
parent6a7096e6850ab0e2090c82ec4fb02f1b2317e632 (diff)
downloadexternal_llvm-388f56d7dc808a1eba418e66188f65e0f2a493b7.zip
external_llvm-388f56d7dc808a1eba418e66188f65e0f2a493b7.tar.gz
external_llvm-388f56d7dc808a1eba418e66188f65e0f2a493b7.tar.bz2
Avoid having testcases spit out bytecode on error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/FunctionResolve/retmismatch1.ll2
-rw-r--r--test/Transforms/FunctionResolve/retmismatch2.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/FunctionResolve/retmismatch1.ll b/test/Transforms/FunctionResolve/retmismatch1.ll
index 7cd055dc6..aeca7af 100644
--- a/test/Transforms/FunctionResolve/retmismatch1.ll
+++ b/test/Transforms/FunctionResolve/retmismatch1.ll
@@ -1,6 +1,6 @@
; This shows where the function is called with the prototype indicating a
; return type exists, but it really doesn't.
-; RUN: if as < %s | opt -funcresolve
+; RUN: if as < %s | opt -funcresolve > /dev/null
; RUN: then echo "opt ok"
; RUN: else exit 1 # Make sure opt doesn't abort!
; RUN: fi
diff --git a/test/Transforms/FunctionResolve/retmismatch2.ll b/test/Transforms/FunctionResolve/retmismatch2.ll
index 606f92f..1c552ed 100644
--- a/test/Transforms/FunctionResolve/retmismatch2.ll
+++ b/test/Transforms/FunctionResolve/retmismatch2.ll
@@ -1,7 +1,7 @@
; This shows where the function is called with the prototype indicating a
; return type doesn't exists, but it really does.
;
-; RUN: if as < %s | opt -funcresolve
+; RUN: if as < %s | opt -funcresolve > /dev/null
; RUN: then echo "opt ok"
; RUN: else exit 1 # Make sure opt doesn't abort!
; RUN: fi