summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/unittests/Driver/ToolChainTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/unittests/Driver/ToolChainTest.cpp b/clang/unittests/Driver/ToolChainTest.cpp
index 5159e80cc7a..ef21e2d17c6 100644
--- a/clang/unittests/Driver/ToolChainTest.cpp
+++ b/clang/unittests/Driver/ToolChainTest.cpp
@@ -58,8 +58,8 @@ TEST(ToolChainTest, VFSGCCInstallation) {
InMemoryFileSystem->addFile(Path, 0,
llvm::MemoryBuffer::getMemBuffer("\n"));
- std::unique_ptr<Compilation> C(
- TheDriver.BuildCompilation({"-fsyntax-only", "foo.cpp"}));
+ std::unique_ptr<Compilation> C(TheDriver.BuildCompilation(
+ {"-fsyntax-only", "--gcc-toolchain=", "foo.cpp"}));
std::string S;
{
@@ -97,8 +97,8 @@ TEST(ToolChainTest, VFSGCCInstallationRelativeDir) {
InMemoryFileSystem->addFile(Path, 0,
llvm::MemoryBuffer::getMemBuffer("\n"));
- std::unique_ptr<Compilation> C(
- TheDriver.BuildCompilation({"-fsyntax-only", "foo.cpp"}));
+ std::unique_ptr<Compilation> C(TheDriver.BuildCompilation(
+ {"-fsyntax-only", "--gcc-toolchain=", "foo.cpp"}));
std::string S;
{
OpenPOWER on IntegriCloud