aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-01-25 22:12:54 +0000
committerReid Kleckner <reid@kleckner.net>2013-01-25 22:12:54 +0000
commit1eb5aea5047228e0c0a5c5a01809124228387332 (patch)
tree32b9a65b1f1e852e9120e91fe4655e55d2e129a8 /test
parent2f67dc9266412a5bf2168918e21e7c4cd86f3186 (diff)
downloadexternal_llvm-1eb5aea5047228e0c0a5c5a01809124228387332.zip
external_llvm-1eb5aea5047228e0c0a5c5a01809124228387332.tar.gz
external_llvm-1eb5aea5047228e0c0a5c5a01809124228387332.tar.bz2
XFAIL close-stderr on win32
The test runner does not rewrite instances of /dev/null inside the quoted sh command. /dev/null does not exist, so opt will fail to open it, and return a non-zero exit code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173509 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Other/close-stderr.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Other/close-stderr.ll b/test/Other/close-stderr.ll
index b310bc2..6e180cd 100644
--- a/test/Other/close-stderr.ll
+++ b/test/Other/close-stderr.ll
@@ -9,5 +9,8 @@
; XFAIL: vg_leak
; REQUIRES: shell
+; opt will fail to open /dev/null on native win32.
+; XFAIL: win32
+
; Test that the error handling when writing to stderr fails exits the
; program cleanly rather than aborting.