mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-26 15:11:20 +00:00
Add the Clang sysroot to the config output (#6642)
This commit is contained in:
1 parent
f42352759f
commit
f772d266a4
3 files changed
+36
-21
No files matched your search
@@ -250,6 +250,11 @@ TEST_F(DriverTest, ConfigJson) {
|
||||
json_obj->getString("INSTALL_ROOT");
|
||||
ASSERT_THAT(install_root, Ne(std::nullopt));
|
||||
EXPECT_THAT(Filesystem::Cwd().OpenDir(install_root->str()), IsSuccess(_));
|
||||
|
||||
std::optional<llvm::StringRef> clang_sysroot =
|
||||
json_obj->getString("CLANG_SYSROOT");
|
||||
ASSERT_THAT(clang_sysroot, Ne(std::nullopt));
|
||||
EXPECT_THAT(Filesystem::Cwd().OpenDir(clang_sysroot->str()), IsSuccess(_));
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in new issue
Block a user