Newer
Older
add_dune_system_test(BASENAME poisson INIFILE poisson.mini SOURCE poisson_uniform.cc TARGETS output SCRIPT ${DUNE_TESTTOOLS_PATH}/python/wrapper/vtkcompare.py)
# The following block is supposed to vanish as soon as FS1557 is through!
foreach(target ${output})
add_dune_ug_flags(${target})
add_dune_umfpack_flags(${target})
add_dune_mpi_flags(${target})
target_link_libraries(${target} ${DUNE_LIBS})
endforeach()
# reuse the existing executables for a convergence test.
# try picking only one static variation for the convergence test
#list(GET output 0 conv_target)
#add_dune_convergence_test(BASENAME poisson TARGET ${conv_target} INIFILE poisson_conv.mini)
add_dune_convergence_test(BASENAME poisson TARGET ${output} INIFILE poisson_conv.mini)