Skip to content
Snippets Groups Projects
Commit bf154178 authored by René Fritze's avatar René Fritze
Browse files

[cmake] fixes weird mpi behaviour in tests

parent a7627a51
No related branches found
No related tags found
No related merge requests found
......@@ -126,8 +126,15 @@ endmacro(BEGIN_TESTCASES)
macro(END_TESTCASES)
IF(NOT CMAKE_WITH_AUTOTOOLS)
add_directory_test_target(_test_target)
add_dependencies(${_test_target} ${testnames})
add_directory_test_target(_test_target)
add_dependencies(${_test_target} ${testnames})
foreach( test ${testnames} )
add_dune_mpi_flags(${test})
add_dune_alugrid_flags(${test})
if(COMMAND add_dune_tbb_flags)
add_dune_tbb_flags(${test})
endif()
endforeach( test ${testnames} )
ENDIF(NOT CMAKE_WITH_AUTOTOOLS)
add_custom_target(test_binaries DEPENDS ${testnames})
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment