From: Reid Kleckner Date: Wed, 29 Apr 2015 16:54:11 +0000 (+0000) Subject: Disable failing TestDevNull test on Windows X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6cc327cc185be9295da5676363b70cb8c05d84df;p=oota-llvm.git Disable failing TestDevNull test on Windows git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236126 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Support/raw_pwrite_stream_test.cpp b/unittests/Support/raw_pwrite_stream_test.cpp index 4e521a04728..a62f6bacb07 100644 --- a/unittests/Support/raw_pwrite_stream_test.cpp +++ b/unittests/Support/raw_pwrite_stream_test.cpp @@ -50,6 +50,7 @@ TEST(raw_pwrite_ostreamTest, TestFD) { #endif } +#ifdef LLVM_ON_UNIX TEST(raw_pwrite_ostreamTest, TestDevNull) { int FD; sys::fs::openFileForWrite("/dev/null", FD, sys::fs::F_None); @@ -59,4 +60,5 @@ TEST(raw_pwrite_ostreamTest, TestDevNull) { OS.pwrite(Test.data(), Test.size(), 0); OS.pwrite(Test.data(), Test.size(), 0); } +#endif }