projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3b655c
)
Disable failing TestDevNull test on Windows
author
Reid Kleckner
<reid@kleckner.net>
Wed, 29 Apr 2015 16:54:11 +0000
(16:54 +0000)
committer
Reid Kleckner
<reid@kleckner.net>
Wed, 29 Apr 2015 16:54:11 +0000
(16:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236126
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/Support/raw_pwrite_stream_test.cpp
patch
|
blob
|
history
diff --git
a/unittests/Support/raw_pwrite_stream_test.cpp
b/unittests/Support/raw_pwrite_stream_test.cpp
index 4e521a047286d35187f5ef4e94b1359d58b8b3e9..a62f6bacb07035b57d2d91a165280bd04e5e5034 100644
(file)
--- 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
}