diff options
Diffstat (limited to 'lldb/unittests/Host/HostInfoTest.cpp')
-rw-r--r-- | lldb/unittests/Host/HostInfoTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/unittests/Host/HostInfoTest.cpp b/lldb/unittests/Host/HostInfoTest.cpp index 55aa2bda39e..19b305d6f7f 100644 --- a/lldb/unittests/Host/HostInfoTest.cpp +++ b/lldb/unittests/Host/HostInfoTest.cpp @@ -58,6 +58,7 @@ struct HostInfoMacOSXTest : public HostInfoMacOSX { }; +#ifdef __APPLE__ TEST_F(HostInfoTest, MacOSX) { // This returns whatever the POSIX fallback returns. std::string posix = "/usr/lib/liblldb.dylib"; @@ -89,3 +90,4 @@ TEST_F(HostInfoTest, MacOSX) { EXPECT_NE(HostInfoMacOSXTest::ComputeClangDir(GetInputFilePath(xcode), true), HostInfoMacOSXTest::ComputeClangDir(GetInputFilePath(xcode))); } +#endif |