summaryrefslogtreecommitdiffstats
path: root/clang/unittests
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-10-09 13:03:18 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-10-09 13:03:18 +0000
commitc5862f08de48298ca5883c806806331df22fe34a (patch)
tree81cf70536ff2799c36a4bd4e94d96dbc59df2ad6 /clang/unittests
parent6204506fa6af955e12a4bde731aa4ea1876dcb30 (diff)
downloadbcm5719-llvm-c5862f08de48298ca5883c806806331df22fe34a.tar.gz
bcm5719-llvm-c5862f08de48298ca5883c806806331df22fe34a.zip
[VFS] Wire up multilib toolchain code to the VFS.
This lets a VFSified driver actually validate the GCC paths. llvm-svn: 249829
Diffstat (limited to 'clang/unittests')
-rw-r--r--clang/unittests/Driver/ToolChainTest.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/clang/unittests/Driver/ToolChainTest.cpp b/clang/unittests/Driver/ToolChainTest.cpp
index 8fddc9b6a03..18a7bbe0f81 100644
--- a/clang/unittests/Driver/ToolChainTest.cpp
+++ b/clang/unittests/Driver/ToolChainTest.cpp
@@ -66,9 +66,13 @@ TEST(ToolChainTest, VFSGCCInstallation) {
llvm::raw_string_ostream OS(S);
C->getDefaultToolChain().printVerboseInfo(OS);
}
- EXPECT_EQ("Found candidate GCC installation: "
- "/usr/lib/gcc/arm-linux-gnueabihf/4.6.3\n",
- S);
+ EXPECT_EQ(
+ "Found candidate GCC installation: "
+ "/usr/lib/gcc/arm-linux-gnueabihf/4.6.3\n"
+ "Selected GCC installation: /usr/lib/gcc/arm-linux-gnueabihf/4.6.3\n"
+ "Candidate multilib: .;@m32\n"
+ "Selected multilib: .;@m32\n",
+ S);
}
} // end anonymous namespace
OpenPOWER on IntegriCloud