summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/TextAPI/TextStubV1Tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/TextAPI/TextStubV1Tests.cpp')
-rw-r--r--llvm/unittests/TextAPI/TextStubV1Tests.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/unittests/TextAPI/TextStubV1Tests.cpp b/llvm/unittests/TextAPI/TextStubV1Tests.cpp
index 1388ed29066..c34656c6877 100644
--- a/llvm/unittests/TextAPI/TextStubV1Tests.cpp
+++ b/llvm/unittests/TextAPI/TextStubV1Tests.cpp
@@ -149,6 +149,8 @@ TEST(TBDv1, ReadFile2) {
EXPECT_EQ(0U, File->reexportedLibraries().size());
}
+// Disable test for windows.
+#ifndef _WIN32
TEST(TBDv1, WriteFile) {
static const char tbd_v1_file3[] =
"---\n"
@@ -215,6 +217,7 @@ TEST(TBDv1, Platform_macOS) {
EXPECT_EQ(FileType::TBD_V1, File->getFileType());
EXPECT_EQ(PlatformKind::macOS, File->getPlatform());
}
+#endif // _WIN32
TEST(TBDv1, Platform_iOS) {
static const char tbd_v1_platform_ios[] = "---\n"
OpenPOWER on IntegriCloud