Commit Graph

15 Commits

Author SHA1 Message Date
Saleem Abdulrasool
8eaf6d55fc test: adjust the tests for swiftc-legacy-driver.exe
When enabling the early swift driver on Windows, these tests need to be
adjusted for the new driver name that is reported. Add an additional
spelling for the driver to accommodate that for the testsuite.
2024-12-02 11:50:57 -08:00
Doug Gregor
f71f6207b5 [CMake] Make swift-frontend the primary Swift binary.
Build swift-frontend as the primary Swift binary, and have
swift/swiftc/etc. symlink over to it. This is a step toward allowing
swift-driver to replace the swift and swiftc binaries.
2020-06-23 13:00:26 -07:00
Ryan Lovelett
17b52ca510 test: Add parens to print for Python3 compatibility 2020-04-14 08:23:40 -04:00
Daniel Rodríguez Troitiño
70b1d91315 [windows] Allow EXE and exe capitalizations in tests.
Clang 8 or 9 seems to have changed from EXE to exe. Allow both
capitalizations (which is not important in Windows) as a workaround.

Maybe in the future we can remove the uppercase option.
2019-10-03 11:09:03 -07:00
Jason Mittertreiner
24c10fe8f7 Fix Response Files on Windows (#22985)
This prevents response files on Windows from being overridden after they
are read.
2019-03-01 19:03:46 -08:00
Jordan Rose
c3f117c9ce [test] Fix Driver tests not to write to PWD (a shared directory) (#19406)
Hopefully fixes some of the weird failures we're seeing in
rdar://problem/42247881, though I'm not sure how it would be
responsible for some of them.
2018-09-20 15:27:48 -07:00
Lukas Stabe
ce3bacc670 add missing python substitution in test 2018-07-11 01:00:52 +00:00
Jordan Rose
7d8e40b0bb Merge pull request #16362 from dabelknap/frontend_responsefile
Wrap Command Line Arguments in a Response File if System Limits are Exceeded

https://bugs.swift.org/browse/SR-4517
2018-06-21 16:31:20 -07:00
Saleem Abdulrasool
83c9f3a815 test: use python substitution
Ensure that the right python is used (via lit substitution).  NFC.
2018-06-04 09:52:15 -07:00
Austin Belknap
3fe62b94e7 Reformat verbose and stack trace printouts for response-files. 2018-05-23 11:05:20 -07:00
Austin Belknap
62813f4cde Reorganize response file tests. 2018-05-14 10:16:47 -07:00
Austin Belknap
59769014fc Wrap command line arguments in a response file if they exceed system limits. 2018-05-03 14:09:07 -07:00
Austin Belknap
f1f12c074d Switch to using %target-build-swift for tests. 2018-04-17 15:58:00 -07:00
Austin Belknap
3999f46f7c Remove modifications to ToolChain and add additional tests. 2018-04-13 17:29:13 -07:00
Austin Belknap
a7fe02e0c5 Add ability to expand response files from the command line. 2018-04-10 12:41:25 -07:00