Skip to content

Commit 3594a0f

Browse files
committed
Replace %openmp_flags with -fopenmp in tests, add REQUIRES where needed
1 parent 6273bb8 commit 3594a0f

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

flang/test/Semantics/OpenMP/atomic-read.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
!RUN: %python %S/../test_errors.py %s %flang %openmp_flags -fopenmp-version=60
1+
!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=60
22

33
subroutine f00
44
integer :: x, v

flang/test/Semantics/OpenMP/atomic-update-capture.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
!RUN: %python %S/../test_errors.py %s %flang %openmp_flags -fopenmp-version=60
1+
!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=60
22

33
subroutine f00
44
integer :: x, y, v

flang/test/Semantics/OpenMP/atomic-update-only.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
!RUN: %python %S/../test_errors.py %s %flang %openmp_flags -fopenmp-version=60
1+
!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=60
22

33
subroutine f00
44
integer :: x, y

flang/test/Semantics/OpenMP/atomic-write.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
!RUN: %python %S/../test_errors.py %s %flang %openmp_flags -fopenmp-version=60
1+
!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=60
22

33
subroutine f00
44
integer :: x, v

flang/test/Semantics/OpenMP/atomic.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
! REQUIRES: openmp_runtime
2+
13
! RUN: %python %S/../test_errors.py %s %flang -fopenmp -J /work2/kparzysz/git/llvm.org/b/x86/runtimes/runtimes-bins/openmp/runtime/src
24
use omp_lib
35
! Check OpenMP 2.13.6 atomic Construct

0 commit comments

Comments
 (0)