]> granicus.if.org Git - llvm/commitdiff
Disable MachO TBD write tests for Windows.
authorJuergen Ributzka <juergen@ributzka.de>
Sat, 23 Mar 2019 00:03:23 +0000 (00:03 +0000)
committerJuergen Ributzka <juergen@ributzka.de>
Sat, 23 Mar 2019 00:03:23 +0000 (00:03 +0000)
The tests are failing on the windows bots. I am disabling them for now.
This is a followup to r356820.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356826 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/TextAPI/TextStubV1Tests.cpp
unittests/TextAPI/TextStubV2Tests.cpp

index 1388ed29066a5471aaa468480c87575c07ce4ab8..c34656c6877d8df8b568086ed79e52743efbb44c 100644 (file)
@@ -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"
index e8792c12cdf69f770e78e85934bbb084927646e3..1cb8b733910c1e3ce542dd893222a4b227f25f28 100644 (file)
@@ -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"