Skip to content
Snippets Groups Projects
Commit 4d21774a authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

allow to group tests by topic

parent a6bb2486
No related branches found
No related tags found
No related merge requests found
...@@ -13,8 +13,25 @@ foreach (test ${testnames}) ...@@ -13,8 +13,25 @@ foreach (test ${testnames})
add_dune_alugrid_flags(${test}) add_dune_alugrid_flags(${test})
TARGET_LINK_LIBRARIES(${test} ${COMMON_LIBS}) TARGET_LINK_LIBRARIES(${test} ${COMMON_LIBS})
set_tests_properties(${test} PROPERTIES TIMEOUT 360) set_tests_properties(${test} PROPERTIES TIMEOUT 360)
if (${test} MATCHES spaces)
list(APPEND spaces_test_binaries ${test})
endif (${test})
if (${test} MATCHES operators)
list(APPEND operators_test_binaries ${test})
endif (${test})
if (${test} MATCHES linearelliptic AND ${test} MATCHES alugrid)
list(APPEND linearelliptic_alugrid_test_binaries ${test})
endif (${test})
if (${test} MATCHES linearelliptic AND ${test} MATCHES sgrid)
list(APPEND linearelliptic_sgrid_test_binaries ${test})
endif (${test})
endforeach (test ${testnames}) endforeach (test ${testnames})
add_custom_target(test_binaries_space DEPENDS ${spaces_test_binaries})
add_custom_target(test_binaries_operator DEPENDS ${operators_test_binaries})
add_custom_target(test_binaries_linearelliptic_cg_discretization_alugrid DEPENDS ${linearelliptic_alugrid_test_binaries})
add_custom_target(test_binaries_linearelliptic_cg_discretization_sgrid DEPENDS ${linearelliptic_sgrid_test_binaries})
# link spe10 data file if present # link spe10 data file if present
if (NOT ${SPE10MODEL1DATA} STREQUAL "SPE10MODEL1DATA-NOTFOUND") if (NOT ${SPE10MODEL1DATA} STREQUAL "SPE10MODEL1DATA-NOTFOUND")
set (SPE10MODEL1DATA_TARGET_FILENAME "${CMAKE_CURRENT_BINARY_DIR}/perm_case1.dat") set (SPE10MODEL1DATA_TARGET_FILENAME "${CMAKE_CURRENT_BINARY_DIR}/perm_case1.dat")
......
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