Location: LEMON/LEMON-official/test/CMakeLists.txt

Load file history
gravatar
kpeter (Peter Kovacs)
Improve and redesign test programs + unify their output (ticket #25) - Move graph related utilities form test_tools.h to graph_test.h. - Move the contents of graph_utils_test.h to graph_utils_test.cc. - Rename map_test.h -> graph_maps_test.h. - Rename digraph_test.h -> graph_test.h. - Many improvements in the following files: * digraph_test.cc * graph_test.cc * graph_test.h * graph_maps_test.h * graph_utils_test.cc * bfs_test.cc * dfs_test.cc * counter_test.cc - Test programs print messages only if it really seems necessary. - Remove \file commands form .cc test files.
include_directories (${LEMON_SOURCE_DIR})
link_directories (${LEMON_BINARY_DIR}/lemon)
set (TESTS
bfs_test
counter_test
dfs_test
digraph_test
dijkstra_test
dim_test
error_test
graph_test
graph_utils_test
kruskal_test
maps_test
path_test
random_test
time_measure_test
unionfind_test)
foreach (TEST_NAME ${TESTS})
add_executable (${TEST_NAME} ${TEST_NAME}.cc)
target_link_libraries (${TEST_NAME} lemon)
add_test(${TEST_NAME} ${TEST_NAME})
endforeach (TEST_NAME)