diff options
Diffstat (limited to 'clang/unittests/Driver/ToolChainTest.cpp')
-rw-r--r-- | clang/unittests/Driver/ToolChainTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/Driver/ToolChainTest.cpp b/clang/unittests/Driver/ToolChainTest.cpp index 3f59fd4..33389a5 100644 --- a/clang/unittests/Driver/ToolChainTest.cpp +++ b/clang/unittests/Driver/ToolChainTest.cpp @@ -595,7 +595,7 @@ TEST(ToolChainTest, Toolsets) { Driver TheDriver("/bin/clang", "x86_64-redhat-linux", Diags, "clang LLVM compiler", InMemoryFileSystem); std::unique_ptr<Compilation> C( - TheDriver.BuildCompilation({"--gcc-toolchain="})); + TheDriver.BuildCompilation({"clang", "--gcc-toolchain="})); ASSERT_TRUE(C); std::string S; { @@ -635,7 +635,7 @@ TEST(ToolChainTest, Toolsets) { Driver TheDriver("/bin/clang", "x86_64-redhat-linux", Diags, "clang LLVM compiler", InMemoryFileSystem); std::unique_ptr<Compilation> C( - TheDriver.BuildCompilation({"--gcc-toolchain="})); + TheDriver.BuildCompilation({"clang", "--gcc-toolchain="})); ASSERT_TRUE(C); std::string S; { |