llvm-project/flang/test/Frontend
Andrzej Warzynski b6e06a740c [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.
2021-01-15 17:12:42 +00:00
..
Inputs [Flang][Driver] Add PrintPreprocessedInput FrontendAction (`flang-new -E`) 2020-11-02 14:03:35 +00:00
input-output-file.f90 [flang][driver] Copy test file into a temp dir when testing (nfc) 2021-01-15 17:12:42 +00:00
multiple-input-files.f90 [flang][driver] Copy input files into a temp dir when testing 2021-01-11 13:54:19 +00:00
print-preprocess-C-file.f90 [Flang][Driver] Add PrintPreprocessedInput FrontendAction (`flang-new -E`) 2020-11-02 14:03:35 +00:00
print-preprocessed-file.f90 [flang][driver] Fix formatting in a test (nfc) 2020-12-22 13:38:13 +00:00