diff options
author | Samuel Antao <sfantao@us.ibm.com> | 2015-11-30 17:26:28 +0000 |
---|---|---|
committer | Samuel Antao <sfantao@us.ibm.com> | 2015-11-30 17:26:28 +0000 |
commit | e5113bce6ce3341615ab50b5b165a4d19ac5eae7 (patch) | |
tree | c5a637b881430f933cbdd2ada808a42cb71aa9c4 /clang/unittests/libclang/LibclangTest.cpp | |
parent | ef9ca5db16970b8cbedae7cc9ef2e34dbe2b28c2 (diff) | |
download | llvm-e5113bce6ce3341615ab50b5b165a4d19ac5eae7.zip llvm-e5113bce6ce3341615ab50b5b165a4d19ac5eae7.tar.gz llvm-e5113bce6ce3341615ab50b5b165a4d19ac5eae7.tar.bz2 |
Add --gcc-toolchain= to one of the libclang unitests to fix issue related to
the gcc libraries clang picks for when it was configures with a user defined
path.
llvm-svn: 254306
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
-rw-r--r-- | clang/unittests/libclang/LibclangTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/unittests/libclang/LibclangTest.cpp b/clang/unittests/libclang/LibclangTest.cpp index fc28b17..9eb3fd0 100644 --- a/clang/unittests/libclang/LibclangTest.cpp +++ b/clang/unittests/libclang/LibclangTest.cpp @@ -482,7 +482,8 @@ TEST_F(LibclangReparseTest, clang_parseTranslationUnit2FullArgv) { std::string Clang = "bin/clang"; WriteFile(Clang, ""); - const char *Argv[] = {Clang.c_str(), "-target", "arm-linux-gnueabi"}; + const char *Argv[] = {Clang.c_str(), "-target", "arm-linux-gnueabi", + "--gcc-toolchain="}; EXPECT_EQ(CXError_Success, clang_parseTranslationUnit2FullArgv(Index, Filename.c_str(), Argv, |