Skip to content

Commit 42797f3

Browse files
committed
skip if host list missing
1 parent 5f0091f commit 42797f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,14 @@ set_property(TEST mpi_pass PROPERTY FIXTURES_REQUIRED mpi_fxt)
3535

3636
endif()
3737

38+
# --- test properties
3839

3940
get_property(tests DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY TESTS)
41+
4042
set_property(TEST ${tests} PROPERTY cpu_mpi)
4143

44+
set_property(TEST ${tests} PROPERTY SKIP_REGULAR_EXPRESSION "No host list provided")
45+
4246
# convenience vars
4347
set(single mpi_basic_C mpi_version_C mpi_basic_Fortran mpi_version_Fortran)
4448
set(_m ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG})

0 commit comments

Comments
 (0)