Commit 4fce1c6c authored by BRAMAS Berenger's avatar BRAMAS Berenger

Execute the MPI unit test with mpirun and -np to 4

parent b0b3a4a6
......@@ -113,13 +113,10 @@ foreach(exec ${source_tests_files})
${TESTS_GCOV_LINKER_FLAGS}
)
add_test(
${execname}
${CMAKE_CURRENT_BINARY_DIR}/${execname}
)
# add_test(
# ${execname}
# ${CMAKE_CURRENT_BINARY_DIR}/${execname}
# )
if(lines_mpi)
add_test(${execname} mpirun -np 4 ${EXECUTABLE_OUTPUT_PATH}/${execname})
else()
add_test(${execname} ${CMAKE_CURRENT_BINARY_DIR}/${execname})
endif()
endif()
endforeach(exec)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment