Skip to content

Commit 43831d6

Browse files
committed
[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
1 parent ef5e7f9 commit 43831d6

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

flang/test/Semantics/omp-allocate01.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
! RUN: %S/test_errors.sh %s %t %f18 -fopenmp
1+
! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
22
! OpenMP Version 5.0
33
! 2.11.3 allocate Directive
44
! The allocate directive must appear in the same scope as the declarations of

flang/test/Semantics/omp-allocate02.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
! RUN: %S/test_errors.sh %s %t %f18 -fopenmp
1+
! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
22
! OpenMP Version 5.0
33
! 2.11.3 allocate Directive
44
! At most one allocator clause can appear on the allocate directive.

flang/test/Semantics/omp-allocate03.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
! RUN: %S/test_errors.sh %s %t %f18 -fopenmp
1+
! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
22
! OpenMP Version 5.0
33
! 2.11.3 allocate Directive
44
! A variable that is part of another variable (as an array or

flang/test/Semantics/omp-allocate04.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
! RUN: %S/test_errors.sh %s %t %f18 -fopenmp
1+
! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
22
! OpenMP Version 5.0
33
! 2.11.3 allocate Directive
44
! Only the allocator clause is allowed on the allocate directive

flang/test/Semantics/omp-allocate05.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
! RUN: %S/test_errors.sh %s %t %f18 -fopenmp
1+
! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
22
! OpenMP Version 5.0
33
! 2.11.3 allocate Directive
44
! allocate directives that appear in a target region must specify an allocator

0 commit comments

Comments
 (0)