[all-commits] [llvm/llvm-project] b6e06a: [flang][driver] Copy test file into a temp dir whe...
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Fri Jan 15 09:18:06 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b6e06a740c26b2b9d91455ad49a5009335089242
https://github.com/llvm/llvm-project/commit/b6e06a740c26b2b9d91455ad49a5009335089242
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2021-01-15 (Fri, 15 Jan 2021)
Changed paths:
M flang/test/Frontend/input-output-file.f90
Log Message:
-----------
[flang][driver] Copy test file into a temp dir when testing (nfc)
The following driver invocation will generate an output file
in the same directory as the input file:
```
flang-new -fc1 -test-io test-input.f90
```
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 the
input file into a temporary directory before testing.
This is similar to https://reviews.llvm.org/D94243.
More information about the All-commits
mailing list