Skip to content

Commit 8ca07e5

Browse files
committed
[Flang][OpenMP][Offloading][Test] Adjust slightly incorrect tests now cmake configuration works
These tests were slightly broken, in one case a failing test that now works. In the other case some accidentally left over code during a name change that broke compilation due to missing symbols.
1 parent e51fe95 commit 8ca07e5

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

openmp/libomptarget/test/offloading/fortran/target_map_common_block.f90

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ program main
1515
call commonblock_simple_with_implicit_type_var
1616
call commonblock_simple_with_integer
1717
call commonblock_simple_with_real
18-
call commonblock_simple_to
19-
call commonblock_simple_from
18+
call commonblock_simple_to_from
2019
call set_commonblock_named
2120
call use_commonblock_named
2221
end program main

openmp/libomptarget/test/offloading/fortran/failing/target_map_common_block1.f90 renamed to openmp/libomptarget/test/offloading/fortran/target_map_common_block1.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
! UNSUPPORTED: x86_64-pc-linux-gnu-LTO
88

99
! RUN: %libomptarget-compile-fortran-run-and-check-generic
10-
! XFAIL: *
1110

1211
program main
1312
use omp_lib

0 commit comments

Comments
 (0)