summaryrefslogtreecommitdiffstats
path: root/test/Other
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-06-10 15:04:14 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-06-10 15:04:14 +0000
commit7361f63b258fb12bc755f03323abb37b45a33b24 (patch)
tree2e6938261933ad9c05403538771c681ec43d3a4d /test/Other
parentd3979a51eebd876526620654e2cf02345cbb8c36 (diff)
downloadexternal_llvm-7361f63b258fb12bc755f03323abb37b45a33b24.zip
external_llvm-7361f63b258fb12bc755f03323abb37b45a33b24.tar.gz
external_llvm-7361f63b258fb12bc755f03323abb37b45a33b24.tar.bz2
Let some more tests ignore expected output on stderr.
Also, use > %t instead of -o %t for output in one test since that also works when %t already exists. This fixes 6 testcases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/2007-06-05-PassID.ll2
-rw-r--r--test/Other/invalid-commandline-option.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Other/2007-06-05-PassID.ll b/test/Other/2007-06-05-PassID.ll
index 25923a5..81e9ef6 100644
--- a/test/Other/2007-06-05-PassID.ll
+++ b/test/Other/2007-06-05-PassID.ll
@@ -1,4 +1,4 @@
-;RUN: llvm-as < %s | opt -analyze -print-cfg-only -disable-output
+;RUN: llvm-as < %s | opt -analyze -print-cfg-only -disable-output 2>/dev/null
;PR 1497
define void @foo() {
diff --git a/test/Other/invalid-commandline-option.ll b/test/Other/invalid-commandline-option.ll
index b74c498..cef09b9 100644
--- a/test/Other/invalid-commandline-option.ll
+++ b/test/Other/invalid-commandline-option.ll
@@ -1,3 +1,3 @@
-; RUN: llvm-as < /dev/null | not opt --foo > /dev/null
+; RUN: llvm-as < /dev/null | not opt --foo >& /dev/null
; there is no --foo