[flang-commits] [flang] 43831d6 - [flang] Update recently added OpenMP tests to use the new driver

Andrzej Warzynski via flang-commits flang-commits at lists.llvm.org
Thu Apr 22 10:24:06 PDT 2021


Author: Andrzej Warzynski
Date: 2021-04-22T17:23:32Z
New Revision: 43831d6279ab4539cb23e95d6dca1d5d1f76fd1a

URL: https://github.com/llvm/llvm-project/commit/43831d6279ab4539cb23e95d6dca1d5d1f76fd1a
DIFF: https://github.com/llvm/llvm-project/commit/43831d6279ab4539cb23e95d6dca1d5d1f76fd1a.diff

LOG: [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

Added: 
    

Modified: 
    flang/test/Semantics/omp-allocate01.f90
    flang/test/Semantics/omp-allocate02.f90
    flang/test/Semantics/omp-allocate03.f90
    flang/test/Semantics/omp-allocate04.f90
    flang/test/Semantics/omp-allocate05.f90

Removed: 
    


################################################################################
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


        


More information about the flang-commits mailing list