summaryrefslogtreecommitdiffstats
path: root/llvm/test/LibDriver/infer-output-path.test
Commit message (Collapse)AuthorAgeFilesLines
* [test] Move llvm-lib tests into tools/llvm-lib. NFC.Martin Storsjo2017-11-021-16/+0
| | | | | | | | | | | | Similarly to SVN r317189 for llvm-dlltool, these are probably easier to find in a tools subdirectory with a name identical to the tool, than in a toplevel directory with a different name. This matches the move of LibDriver itself in SVN r302995. Differential Revision: https://reviews.llvm.org/D39531 llvm-svn: 317262
* [llvm] Get rid of "%T" expansionsKuba Mracek2017-08-151-12/+13
| | | | | | | | | | The %T lit expansion expands to a common directory shared between all the tests in the same directory, which is unexpected and unintuitive, and more importantly, it's been a source of subtle race conditions and flaky tests. In https://reviews.llvm.org/D35396, it was agreed that it would be best to simply ban %T and only keep %t, which is unique to each test. When a test needs a temporary directory, it can just create one using mkdir %t. This patch removes %T in llvm. Differential Revision: https://reviews.llvm.org/D36495 llvm-svn: 310953
* LibDriver: Fix output path inference.Peter Collingbourne2015-07-081-0/+15
The inferred output file name is based on the first input file, not the first one with extension .obj. The output file was also being written to the wrong directory; it needs to be written to whichever directory on the libpath it was found in. This change fixes both issues. llvm-svn: 241710
OpenPOWER on IntegriCloud