Commit dfca6047 authored by Antonio Cervone's avatar Antonio Cervone
Browse files

fix ADRAssembler 2d test

parent 305f4b84
......@@ -14,12 +14,12 @@ add_executable (test_ADRAssembler_2d EXCLUDE_FROM_ALL main_2d.cpp)
target_link_libraries (test_ADRAssembler_2d ${LIBS})
add_custom_target (test_ADRAssembler_2d_links
COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SOURCE_DIR}/data_2d;data
COMMAND ${CMAKE_COMMAND} -E create_symlink ${PROJECT_SOURCE_DIR}/testsuite/data/mesh/inria/;Mesh
COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SOURCE_DIR}/data_2d;data_2d
COMMAND ${CMAKE_COMMAND} -E create_symlink ${PROJECT_SOURCE_DIR}/testsuite/data/mesh/freefem/;Mesh/freefem
VERBATIM)
# Fake dependency to ensure that links are made prior to running the test
add_dependencies (test_ADRAssembler_2d DEPENDS test_ADRAssembler_2d_links)
add_test (NAME LifeSolver::ADRAssembler COMMAND mpirun -np 2 test_ADRAssembler)
add_test (NAME LifeSolver::ADRAssembler_2D COMMAND mpirun -np 2 test_ADRAssembler_2d)
add_test (NAME LifeSolver::ADRAssembler_2D COMMAND mpirun -np 2 test_ADRAssembler_2d -f data_2d )
Supports Markdown
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