aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Warzynski <andrzej.warzynski@arm.com>2021-04-12 12:27:49 +0000
committerAndrzej Warzynski <andrzej.warzynski@arm.com>2021-04-15 08:52:23 +0000
commite7be90bd27051c3dcd9a344cb1b347a0c9454c21 (patch)
tree6c7eea7efd4faebae7167304093a0289fd23cfc5 /flang/test/Semantics/resolve102.f90
parent[NFC][LoopVectorize] Remove unnecessary VF.isScalable asserts (diff)
downloadllvm-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/resolve102.f90')
-rw-r--r--flang/test/Semantics/resolve102.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/flang/test/Semantics/resolve102.f90 b/flang/test/Semantics/resolve102.f90
index c5b3f53bbdc4..6b2a79497687 100644
--- a/flang/test/Semantics/resolve102.f90
+++ b/flang/test/Semantics/resolve102.f90
@@ -1,4 +1,4 @@
-! RUN: %S/test_errors.sh %s %t %f18
+! RUN: %S/test_errors.sh %s %t %flang_fc1
! Tests for circularly defined procedures
!ERROR: Procedure 'sub' is recursively defined. Procedures in the cycle: 'sub', 'p2'