summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@ributzka.de>2019-08-12 19:51:34 +0000
committerJuergen Ributzka <juergen@ributzka.de>2019-08-12 19:51:34 +0000
commitd9bc9c81611705c121135fb7449ebcbba74fae33 (patch)
treef1db4d220745da56d8c2f1bfaa27591b6e4fd8d1
parent055fcec78cf6026719af4966c7568e39c1229d2d (diff)
downloadbcm5719-llvm-d9bc9c81611705c121135fb7449ebcbba74fae33.tar.gz
bcm5719-llvm-d9bc9c81611705c121135fb7449ebcbba74fae33.zip
Revert "Disable MachO TBD write tests for Windows."
The underlying issue was fixed in r357759. llvm-svn: 368611
-rw-r--r--llvm/unittests/TextAPI/TextStubV1Tests.cpp3
-rw-r--r--llvm/unittests/TextAPI/TextStubV2Tests.cpp3
2 files changed, 0 insertions, 6 deletions
diff --git a/llvm/unittests/TextAPI/TextStubV1Tests.cpp b/llvm/unittests/TextAPI/TextStubV1Tests.cpp
index 165e58f09d5..54c0ff24199 100644
--- a/llvm/unittests/TextAPI/TextStubV1Tests.cpp
+++ b/llvm/unittests/TextAPI/TextStubV1Tests.cpp
@@ -147,8 +147,6 @@ 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"
@@ -214,7 +212,6 @@ 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 b4b8ca9b91e..80c1a71b2fd 100644
--- a/llvm/unittests/TextAPI/TextStubV2Tests.cpp
+++ b/llvm/unittests/TextAPI/TextStubV2Tests.cpp
@@ -171,8 +171,6 @@ 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"
@@ -224,7 +222,6 @@ 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"
OpenPOWER on IntegriCloud