Minor fix in ToolChainTest.cpp to allow user defined GCC toolchain.
authorSamuel Antao <sfantao@us.ibm.com>
Tue, 27 Oct 2015 22:20:26 +0000 (22:20 +0000)
committerSamuel Antao <sfantao@us.ibm.com>
Tue, 27 Oct 2015 22:20:26 +0000 (22:20 +0000)
commit4c1f1c33b16b3b7236444661a6bd48933cf7c2dd
tree716495043e05f972a7942e8e8099dfc3704b188a
parent9fde8d602706a73beb11260d51dfd95dd7321fce
Minor fix in ToolChainTest.cpp to allow user defined GCC toolchain.

If the user configured clang with a custom GCC toolchain that will take precedence on what the ToolChainTest.cpp expects to evaluate.
This is fixed here by passing --gcc-toolchain= to the driver, in order to override any user defined GCC toolchain.

llvm-svn: 251459
clang/unittests/Driver/ToolChainTest.cpp