From 43831d6279ab4539cb23e95d6dca1d5d1f76fd1a Mon Sep 17 00:00:00 2001 From: Andrzej Warzynski Date: Thu, 22 Apr 2021 16:17:26 +0000 Subject: [PATCH] [flang] Update recently added OpenMP tests to use the new driver Switching from `%f18` to `%flang_fc1` in LIT tests added in https://reviews.llvm.org/D91159. This way these tests are run with the new driver, `flang-new`, when enabled (i.e. when `FLANG_BUILD_NEW_DRIVER` is set). Differential Revision: https://reviews.llvm.org/D101078 --- flang/test/Semantics/omp-allocate01.f90 | 2 +- flang/test/Semantics/omp-allocate02.f90 | 2 +- flang/test/Semantics/omp-allocate03.f90 | 2 +- flang/test/Semantics/omp-allocate04.f90 | 2 +- flang/test/Semantics/omp-allocate05.f90 | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flang/test/Semantics/omp-allocate01.f90 b/flang/test/Semantics/omp-allocate01.f90 index ede2c6db91ac..6531879c6741 100644 --- a/flang/test/Semantics/omp-allocate01.f90 +++ b/flang/test/Semantics/omp-allocate01.f90 @@ -1,4 +1,4 @@ -! RUN: %S/test_errors.sh %s %t %f18 -fopenmp +! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp ! OpenMP Version 5.0 ! 2.11.3 allocate Directive ! The allocate directive must appear in the same scope as the declarations of diff --git a/flang/test/Semantics/omp-allocate02.f90 b/flang/test/Semantics/omp-allocate02.f90 index d249192eb375..0e3120698dcc 100644 --- a/flang/test/Semantics/omp-allocate02.f90 +++ b/flang/test/Semantics/omp-allocate02.f90 @@ -1,4 +1,4 @@ -! RUN: %S/test_errors.sh %s %t %f18 -fopenmp +! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp ! OpenMP Version 5.0 ! 2.11.3 allocate Directive ! At most one allocator clause can appear on the allocate directive. diff --git a/flang/test/Semantics/omp-allocate03.f90 b/flang/test/Semantics/omp-allocate03.f90 index f658cdd53816..4b423876d0fd 100644 --- a/flang/test/Semantics/omp-allocate03.f90 +++ b/flang/test/Semantics/omp-allocate03.f90 @@ -1,4 +1,4 @@ -! RUN: %S/test_errors.sh %s %t %f18 -fopenmp +! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp ! OpenMP Version 5.0 ! 2.11.3 allocate Directive ! A variable that is part of another variable (as an array or diff --git a/flang/test/Semantics/omp-allocate04.f90 b/flang/test/Semantics/omp-allocate04.f90 index aeb7ad3b311b..cf0c5be604dd 100644 --- a/flang/test/Semantics/omp-allocate04.f90 +++ b/flang/test/Semantics/omp-allocate04.f90 @@ -1,4 +1,4 @@ -! RUN: %S/test_errors.sh %s %t %f18 -fopenmp +! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp ! OpenMP Version 5.0 ! 2.11.3 allocate Directive ! Only the allocator clause is allowed on the allocate directive diff --git a/flang/test/Semantics/omp-allocate05.f90 b/flang/test/Semantics/omp-allocate05.f90 index f798e3076b22..1d493ba05130 100644 --- a/flang/test/Semantics/omp-allocate05.f90 +++ b/flang/test/Semantics/omp-allocate05.f90 @@ -1,4 +1,4 @@ -! RUN: %S/test_errors.sh %s %t %f18 -fopenmp +! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp ! OpenMP Version 5.0 ! 2.11.3 allocate Directive ! allocate directives that appear in a target region must specify an allocator