Skip to content

Commit bc6a265

Browse files
authored
[offload] Use flang-rt for test feature requirements (#187733)
1 parent eaeca6d commit bc6a265

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

offload/test/offloading/fortran/formatted-io.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
! REQUIRES: flang, libc
1+
! REQUIRES: flang, flang-rt, libc, amdgpu
22
! RUN: %libomptarget-compile-fortran-run-and-check-generic
33

44
program formatted_io_test

offload/test/offloading/fortran/implicit-record-field-mapping.f90

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
! Test implicit mapping of alloctable record fields.
22

3-
! REQUIRES: flang, amdgpu
4-
5-
! This fails only because it needs the Fortran runtime built for device. If this
6-
! is available, this test succeeds when run.
7-
! XFAIL: *
3+
! REQUIRES: flang, flang-rt, amdgpu
84

95
! RUN: %libomptarget-compile-fortran-generic
106
! RUN: env LIBOMPTARGET_INFO=16 %libomptarget-run-generic 2>&1 | %fcheck-generic

offload/test/offloading/fortran/io.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
! REQUIRES: flang, libc
1+
! REQUIRES: flang, flang-rt, libc, amdgpu
22
! RUN: %libomptarget-compile-fortran-run-and-check-generic
33

44
program io_test

0 commit comments

Comments
 (0)