Skip to content

Commit

Permalink
skip if host list missing
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Dec 19, 2023
1 parent 5f0091f commit 42797f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,14 @@ set_property(TEST mpi_pass PROPERTY FIXTURES_REQUIRED mpi_fxt)

endif()

# --- test properties

get_property(tests DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY TESTS)

set_property(TEST ${tests} PROPERTY cpu_mpi)

set_property(TEST ${tests} PROPERTY SKIP_REGULAR_EXPRESSION "No host list provided")

# convenience vars
set(single mpi_basic_C mpi_version_C mpi_basic_Fortran mpi_version_Fortran)
set(_m ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG})
Expand Down

0 comments on commit 42797f3

Please sign in to comment.