summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Host/HostInfoTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/unittests/Host/HostInfoTest.cpp')
-rw-r--r--lldb/unittests/Host/HostInfoTest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/unittests/Host/HostInfoTest.cpp b/lldb/unittests/Host/HostInfoTest.cpp
index d18a6a5b2f6..55aa2bda39e 100644
--- a/lldb/unittests/Host/HostInfoTest.cpp
+++ b/lldb/unittests/Host/HostInfoTest.cpp
@@ -63,11 +63,11 @@ TEST_F(HostInfoTest, MacOSX) {
std::string posix = "/usr/lib/liblldb.dylib";
EXPECT_FALSE(HostInfoMacOSXTest::ComputeClangDir(posix).empty());
- std::string framework =
- "/SharedFrameworks/LLDB.framework";
- std::string framework_clang =
- "/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/clang";
- EXPECT_EQ(HostInfoMacOSXTest::ComputeClangDir(framework), framework_clang);
+ std::string build =
+ "/lldb-macosx-x86_64/Library/Frameworks/LLDB.framework/Versions/A";
+ std::string build_clang =
+ "/lldb-macosx-x86_64/Library/Frameworks/LLDB.framework/Resources/Clang";
+ EXPECT_EQ(HostInfoMacOSXTest::ComputeClangDir(build), build_clang);
std::string xcode =
"/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A";
OpenPOWER on IntegriCloud