Skip to content

Commit

Permalink
Disable atlas_test_field_pinning, as test_field_pinning.cc not found
Browse files Browse the repository at this point in the history
  • Loading branch information
wdeconinck committed Apr 29, 2024
1 parent e41689b commit 590d37d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tests/field/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,18 @@ ecbuild_add_test( TARGET atlas_test_field_acc
if( TEST atlas_test_field_acc )
set_tests_properties ( atlas_test_field_acc PROPERTIES LABELS "gpu;acc")
endif()

if (FALSE) # test_field_pinning.cc was not committed
ecbuild_add_test( TARGET atlas_test_field_pinning
SOURCES test_field_pinning.cc
LIBS atlas OpenACC::OpenACC_CXX
ENVIRONMENT ${ATLAS_TEST_ENVIRONMENT}
CONDITION atlas_HAVE_ACC
)
if( TEST atlas_test_field_pinning )
target_compile_options( atlas_test_field_pinning PRIVATE "${ACC_C_FLAGS}")
target_link_options( atlas_test_field_pinning PRIVATE "${ACC_C_FLAGS}")
set_tests_properties ( atlas_test_field_pinning PROPERTIES LABELS "gpu;acc")
endif()
endif()

if( HAVE_FCTEST )

Expand Down

0 comments on commit 590d37d

Please sign in to comment.