diff options
author | Juergen Ributzka <juergen@ributzka.de> | 2019-03-23 00:03:23 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@ributzka.de> | 2019-03-23 00:03:23 +0000 |
commit | 197ae22393820c4906ef908481c0dadfb851b25b (patch) | |
tree | 7f18109dd5773bddfe4d7d62360c09fdf03d7649 /llvm/unittests/TextAPI | |
parent | 528ce4dd986776331571880dbc1636ac102a5723 (diff) | |
download | bcm5719-llvm-197ae22393820c4906ef908481c0dadfb851b25b.tar.gz bcm5719-llvm-197ae22393820c4906ef908481c0dadfb851b25b.zip |
Disable MachO TBD write tests for Windows.
The tests are failing on the windows bots. I am disabling them for now.
This is a followup to r356820.
llvm-svn: 356826
Diffstat (limited to 'llvm/unittests/TextAPI')
-rw-r--r-- | llvm/unittests/TextAPI/TextStubV1Tests.cpp | 3 | ||||
-rw-r--r-- | llvm/unittests/TextAPI/TextStubV2Tests.cpp | 3 |
2 files changed, 6 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" diff --git a/llvm/unittests/TextAPI/TextStubV2Tests.cpp b/llvm/unittests/TextAPI/TextStubV2Tests.cpp index e8792c12cdf..1cb8b733910 100644 --- a/llvm/unittests/TextAPI/TextStubV2Tests.cpp +++ b/llvm/unittests/TextAPI/TextStubV2Tests.cpp @@ -173,6 +173,8 @@ TEST(TBDv2, ReadFile2) { EXPECT_EQ(0U, File->reexportedLibraries().size()); } +// Disable test for windows. +#ifndef _WIN32 TEST(TBDv2, WriteFile) { static const char tbd_v2_file3[] = "--- !tapi-tbd-v2\n" @@ -225,6 +227,7 @@ TEST(TBDv2, WriteFile) { EXPECT_FALSE(Result); EXPECT_STREQ(tbd_v2_file3, Buffer.c_str()); } +#endif // _WIN32 TEST(TBDv2, Platform_macOS) { static const char tbd_v1_platform_macos[] = "--- !tapi-tbd-v2\n" |