Skip to content

Commit

Permalink
cmake: clarify test parallelization
Browse files Browse the repository at this point in the history
  • Loading branch information
junghans authored Oct 23, 2024
1 parent 3a1d0ed commit 93da7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/heffte_macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ endmacro()
macro(heffte_add_mpi_test)
cmake_parse_arguments(_heffte "" "NAME;COMMAND;RANKS" "" ${ARGN} )
add_test(${_heffte_NAME} ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${_heffte_RANKS} ${MPIEXEC_PREFLAGS} ${CMAKE_CURRENT_BINARY_DIR}/${_heffte_COMMAND} ${MPIEXEC_POSTFLAGS})
set_tests_properties(${_heffte_NAME} PROPERTIES RUN_SERIAL ${Heffte_SEQUENTIAL_TESTING})
set_tests_properties(${_heffte_NAME} PROPERTIES PROCESSORS ${_heffte_RANKS} RUN_SERIAL ${Heffte_SEQUENTIAL_TESTING})
unset(_heffte_NAME)
unset(_heffte_RANKS)
unset(_heffte_COMMAND)
Expand Down

0 comments on commit 93da7ed

Please sign in to comment.