Avoid having testcases spit out bytecode on error
authorChris Lattner <sabre@nondot.org>
Wed, 9 Oct 2002 20:36:54 +0000 (20:36 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 9 Oct 2002 20:36:54 +0000 (20:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4096 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/FunctionResolve/retmismatch1.ll
test/Transforms/FunctionResolve/retmismatch2.ll

index 7cd055dc649b1f03a729ae49dfcf62f32e2428fd..aeca7af2f8a1c5f382ab4ce2516b0ce0187a9acb 100644 (file)
@@ -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
index 606f92f7dd44fac9aedb62b1d550ecf596dbe783..1c552ed275811516dce4c1aaa9a5b22a7577faa5 100644 (file)
@@ -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