diff options
author | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2021-04-12 12:27:49 +0000 |
---|---|---|
committer | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2021-04-15 08:52:23 +0000 |
commit | e7be90bd27051c3dcd9a344cb1b347a0c9454c21 (patch) | |
tree | 6c7eea7efd4faebae7167304093a0289fd23cfc5 /flang/test/Semantics/io06.f90 | |
parent | [NFC][LoopVectorize] Remove unnecessary VF.isScalable asserts (diff) | |
download | llvm-project-e7be90bd27051c3dcd9a344cb1b347a0c9454c21.tar.gz llvm-project-e7be90bd27051c3dcd9a344cb1b347a0c9454c21.tar.bz2 llvm-project-e7be90bd27051c3dcd9a344cb1b347a0c9454c21.zip |
[flang] Update the regression tests to use the new driver when enabled
This patch updates most of the remaining regression tests (~400) to use
`flang-new` rather then `f18` when `FLANG_BUILD_NEW_DRIVER` is set.
This allows us to share more Flang regression tests between `f18` and
`flang-new`. A handful of tests have not been ported yet - these are
currently either failing or not supported by the new driver.
Summary of changes:
* RUN lines in tests are updated to use `%flang_fc1` instead of `%f18`
* option spellings in tests are updated to forms accepted by both `f18` and
`flang-new`
* variables in Bash scripts are renamed (e.g. F18 --> FLANG_FC1)
The updated tests will now be run with the new driver, `flang-new`,
whenever it is enabled (i.e when `FLANG_BUILD_NEW_DRIVER` is set).
Although this patch touches many files, vast majority of the changes are
automatic:
```
grep -IEZlr "%f18" flang/test/ | xargs -0 -l sed -i 's/%f18/%flang_fc1/g
```
Differential Revision: https://reviews.llvm.org/D100309
Diffstat (limited to 'flang/test/Semantics/io06.f90')
-rw-r--r-- | flang/test/Semantics/io06.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flang/test/Semantics/io06.f90 b/flang/test/Semantics/io06.f90 index fe3b97f0e67e..40ac1df8710a 100644 --- a/flang/test/Semantics/io06.f90 +++ b/flang/test/Semantics/io06.f90 @@ -1,4 +1,4 @@ -! RUN: %S/test_errors.sh %s %t %f18 +! RUN: %S/test_errors.sh %s %t %flang_fc1 character(kind=1,len=100) msg1 character(kind=2,len=200) msg2 character, parameter :: const_msg = 'doof' |