Commit Graph

3 Commits

Author SHA1 Message Date
Samuel Antao d0e6bf5647 Fix clash of gcc toolchains in driver regression tests.
For some regression tests the path to the right toolchain is specified using the -sysroot switch. However, if clang was configured with a custom gcc toolchain (either by using GCC_INSTALL_PREFIX in cmake or the equivalent configure command), the path to the custom gcc toolchain path takes precedence to the one specified by sysroot. This causes several regression tests to fail as they will be using an unexpected path. This patch fixes this issue by adding --gcc-toolchain='' to all tests that rely on that. The empty string causes the driver to pick the path from sysroot instead.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@225182 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-05 17:07:42 +00:00
Adrian Prantl fc88601d6c Relax testcase for r188400 to not test for forward-slashes as path separators.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188414 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-14 22:10:17 +00:00
Benjamin Kramer f2a19daac1 Testcase for r188400.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188405 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-14 19:45:27 +00:00