diff --git a/lldb/unittests/Utility/XcodeSDKTest.cpp b/lldb/unittests/Utility/XcodeSDKTest.cpp index 95b909e700184..0cc353aa1ff7b 100644 --- a/lldb/unittests/Utility/XcodeSDKTest.cpp +++ b/lldb/unittests/Utility/XcodeSDKTest.cpp @@ -59,6 +59,7 @@ TEST(XcodeSDKTest, MergeTest) { EXPECT_EQ(empty.GetString(), llvm::StringRef("MacOSX10.14.Internal.sdk")); } +#ifndef _WIN32 TEST(XcodeSDKTest, SDKSupportsModules) { std::string base = "/Applications/Xcode.app/Contents/Developer/Platforms/"; EXPECT_TRUE(XcodeSDK::SDKSupportsModules( @@ -82,6 +83,7 @@ TEST(XcodeSDKTest, SDKSupportsModules) { XcodeSDK::Type::MacOSX, FileSpec(base + "MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk"))); } +#endif TEST(XcodeSDKTest, GetCanonicalName) { XcodeSDK::Info info;