summaryrefslogtreecommitdiff
path: root/test/Driver/gcc-toolchain.cpp
Commit message (Collapse)AuthorAge
* Accept both / and \\ to fix the windows bots.Rafael Espindola2013-06-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184790 91177308-0d34-0410-b5e6-96231b3b80d8
* Update two options to my proposed syntax for user-facing driver options:Chandler Carruth2013-06-20
| | | | | | | | | | | | | | | | | | | -gcc-toolchain foo -> --gcc-toolchain=foo -target foo -> --target=foo I've added legacy aliases for the original spellings. I've updated the canonical tests to check both spellings, and switched all of the -gcc-toolchain usages elsewhere in the test suite to use the new one. I've updated some of the usages of -target to the new syntax, but will finish that in a separate entirely mechanical change once I'm sure this won't get rolled back for some reason (It touches a *huge* number of RUN lines in the test suite unsurprisingly). A nice result is that the three most common flags I end up using when doing cross compiles are all now consistent: --target=, --sysroot=, and --gcc-toolchain=. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184408 91177308-0d34-0410-b5e6-96231b3b80d8
* Skip testing the crtbegin.o, and resume using a single variable for theChandler Carruth2012-02-21
| | | | | | prefixes. It seems only crtbegin.o uses the strange formatting. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151094 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up, add some documentation, and make this test return to checkingChandler Carruth2012-02-21
| | | | | | | | the linker toolchainness a bit more thoroughly. It used to work this way, but hit buildbot issues. Hopefully subsequent fixes have addressed those problems, but I'll be watching the bots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151090 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the regular expressions in this test more narrow to ensure we'reChandler Carruth2012-02-19
| | | | | | | actually matching the write substrings, and stop looking for a leading '/' to try and finish fixing darwin and other hosts. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150938 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't check for /lib and /usr/lib.Rafael Espindola2012-02-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150907 91177308-0d34-0410-b5e6-96231b3b80d8
* Our handling of variables in FileCheck looks really broken on windws. JustRafael Espindola2012-02-19
| | | | | | give up on matching the path prefix for the libraries. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150906 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an extra CHECK line to make sure TOOLCHAIN2 matches just the pathRafael Espindola2012-02-19
| | | | | | prefix. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150905 91177308-0d34-0410-b5e6-96231b3b80d8
* Looks like we use forward slashes for header search but back slashes forRafael Espindola2012-02-19
| | | | | | libraries on windows. Use two variables to make this test pass. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150903 91177308-0d34-0410-b5e6-96231b3b80d8
* Try to match the linker being named ld.exe. Second try at fixing the windows ↵Rafael Espindola2012-02-19
| | | | | | bots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150901 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't assume a path starts with a /. Should fix the windows bot.Rafael Espindola2012-02-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150900 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a -gcc-toolchain command line option that does the same asRafael Espindola2012-02-19
configure's --with-gcc-toolchain. The configure option is now just a default value for the command line one. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150898 91177308-0d34-0410-b5e6-96231b3b80d8