Skip to content

Commit

Permalink
ci:apple: disable test_runner due to GA glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed May 5, 2024
1 parent 835edf5 commit 6eefa5f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/mpi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@ if(${name} STREQUAL "string_read")
endif()

add_test(NAME ${tname} COMMAND ${cmd})
set_property(TEST ${tname} PROPERTY DISABLED $<AND:$<BOOL:${use_runner}>,$<NOT:$<TARGET_EXISTS:test_runner>>>)

endfunction(mpi_test)

# --- test files

if(APPLE AND "$ENV{GITHUB_ACTIONS}")
message(WARNING "Skipping MPI test_runner due to build quirk in GitHub Actions")
else()
add_executable(test_runner runner.f90
${PROJECT_SOURCE_DIR}/benchmark/partition.f90
${PROJECT_SOURCE_DIR}/benchmark/cli.f90
Expand All @@ -37,6 +41,7 @@ target_include_directories(test_runner PRIVATE ${PROJECT_SOURCE_DIR}/benchmark)
if(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
set_property(TARGET test_runner PROPERTY LINKER_LANGUAGE Fortran)
endif()
endif()


# --- MPI tests
Expand Down

0 comments on commit 6eefa5f

Please sign in to comment.