[all-commits] [llvm/llvm-project] 8298ec: [flang][driver] Copy input files into a temp dir w...
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Mon Jan 11 06:10:14 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8298ec2d6299a95d2920cb8ee993ac6c5e604097
https://github.com/llvm/llvm-project/commit/8298ec2d6299a95d2920cb8ee993ac6c5e604097
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2021-01-11 (Mon, 11 Jan 2021)
Changed paths:
M flang/test/Frontend/multiple-input-files.f90
Log Message:
-----------
[flang][driver] Copy input files into a temp dir when testing
The following frontend driver invocation will generate 2 output files
in the same directory as the input files:
```
flang-new -fc1 input-1.f input-2.f
```
This is the desired behaviour. However, when testing we need to make
sure that we don't pollute the source directory. To this end, copy test
input files into a temporary directory.
Differential Revision: https://reviews.llvm.org/D94243
More information about the All-commits
mailing list