1 | 1 |
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}) |
2 | 2 |
|
3 | 3 |
LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon) |
4 | 4 |
|
5 | 5 |
SET(TESTS |
6 | 6 |
bfs_test |
7 |
circulation_test |
|
7 | 8 |
counter_test |
8 | 9 |
dfs_test |
9 | 10 |
digraph_test |
10 | 11 |
dijkstra_test |
11 | 12 |
dim_test |
12 | 13 |
error_test |
14 |
graph_adaptor_test |
|
13 | 15 |
graph_copy_test |
14 | 16 |
graph_test |
15 | 17 |
graph_utils_test |
16 | 18 |
hao_orlin_test |
17 | 19 |
heap_test |
18 | 20 |
kruskal_test |
19 | 21 |
maps_test |
20 | 22 |
max_matching_test |
23 |
path_test |
|
24 |
preflow_test |
|
21 | 25 |
random_test |
22 |
|
|
26 |
suurballe_test |
|
23 | 27 |
time_measure_test |
24 | 28 |
unionfind_test) |
25 | 29 |
|
26 | 30 |
FOREACH(TEST_NAME ${TESTS}) |
27 | 31 |
ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc) |
28 | 32 |
TARGET_LINK_LIBRARIES(${TEST_NAME} lemon) |
29 | 33 |
ADD_TEST(${TEST_NAME} ${TEST_NAME}) |
30 | 34 |
ENDFOREACH(TEST_NAME) |
... | ... |
@@ -9,32 +9,32 @@ |
9 | 9 |
test/bfs_test \ |
10 | 10 |
test/circulation_test \ |
11 | 11 |
test/counter_test \ |
12 | 12 |
test/dfs_test \ |
13 | 13 |
test/digraph_test \ |
14 | 14 |
test/dijkstra_test \ |
15 | 15 |
test/dim_test \ |
16 | 16 |
test/error_test \ |
17 | 17 |
test/graph_adaptor_test \ |
18 | 18 |
test/graph_copy_test \ |
19 | 19 |
test/graph_test \ |
20 | 20 |
test/graph_utils_test \ |
21 |
test/hao_orlin_test \ |
|
21 | 22 |
test/heap_test \ |
22 | 23 |
test/kruskal_test \ |
23 |
test/hao_orlin_test \ |
|
24 | 24 |
test/maps_test \ |
25 | 25 |
test/max_matching_test \ |
26 |
test/random_test \ |
|
27 | 26 |
test/path_test \ |
28 | 27 |
test/preflow_test \ |
28 |
test/random_test \ |
|
29 | 29 |
test/suurballe_test \ |
30 | 30 |
test/test_tools_fail \ |
31 | 31 |
test/test_tools_pass \ |
32 | 32 |
test/time_measure_test \ |
33 | 33 |
test/unionfind_test |
34 | 34 |
|
35 | 35 |
TESTS += $(check_PROGRAMS) |
36 | 36 |
XFAIL_TESTS += test/test_tools_fail$(EXEEXT) |
37 | 37 |
|
38 | 38 |
test_bfs_test_SOURCES = test/bfs_test.cc |
39 | 39 |
test_circulation_test_SOURCES = test/circulation_test.cc |
40 | 40 |
test_counter_test_SOURCES = test/counter_test.cc |
0 comments (0 inline)