test/Makefile.am
author Alpar Juttner <alpar@cs.elte.hu>
Fri, 10 Sep 2010 12:04:38 +0200
changeset 901 63e4468c680e
parent 799 6be1f9bd2ac0
parent 869 636dadefe1e6
child 904 c279b19abc62
child 964 2b6bffe0e7e8
permissions -rw-r--r--
Add 'Maintainer' CMAKE build type (#388, #390)

- some extra warning and debug options
- build stops on warning (-Werror)
- tests are built and run by default
ladanyi@793
     1
if USE_VALGRIND
ladanyi@793
     2
TESTS_ENVIRONMENT=$(top_srcdir)/scripts/valgrind-wrapper.sh
ladanyi@793
     3
endif
ladanyi@793
     4
ladanyi@1
     5
EXTRA_DIST += \
deba@228
     6
	test/CMakeLists.txt
ladanyi@1
     7
alpar@4
     8
noinst_HEADERS += \
kpeter@171
     9
	test/graph_test.h \
alpar@440
    10
	test/test_tools.h
alpar@10
    11
alpar@4
    12
check_PROGRAMS += \
kpeter@465
    13
	test/adaptors_test \
kpeter@698
    14
	test/bellman_ford_test \
alpar@100
    15
	test/bfs_test \
alpar@440
    16
	test/circulation_test \
kpeter@649
    17
	test/connectivity_test \
alpar@440
    18
	test/counter_test \
alpar@100
    19
	test/dfs_test \
deba@57
    20
	test/digraph_test \
kpeter@170
    21
	test/dijkstra_test \
alpar@440
    22
	test/dim_test \
deba@468
    23
	test/edge_set_test \
deba@108
    24
	test/error_test \
ladanyi@522
    25
	test/euler_test \
deba@869
    26
	test/fractional_matching_test \
tapolcai@543
    27
	test/gomory_hu_test \
deba@200
    28
	test/graph_copy_test \
deba@57
    29
	test/graph_test \
deba@139
    30
	test/graph_utils_test \
alpar@424
    31
	test/hao_orlin_test \
deba@203
    32
	test/heap_test \
alpar@103
    33
	test/kruskal_test \
alpar@440
    34
	test/maps_test \
kpeter@594
    35
	test/matching_test \
deba@501
    36
	test/min_cost_arborescence_test \
kpeter@601
    37
	test/min_cost_flow_test \
kpeter@763
    38
	test/min_mean_cycle_test \
alpar@440
    39
	test/path_test \
deba@797
    40
	test/planarity_test \
alpar@440
    41
	test/preflow_test \
deba@441
    42
	test/radix_sort_test \
alpar@440
    43
	test/random_test \
alpar@440
    44
	test/suurballe_test \
alpar@440
    45
	test/test_tools_fail \
alpar@440
    46
	test/test_tools_pass \
alpar@440
    47
	test/time_measure_test \
alpar@103
    48
	test/unionfind_test
alpar@10
    49
ladanyi@564
    50
test_test_tools_pass_DEPENDENCIES = demo
ladanyi@564
    51
deba@458
    52
if HAVE_LP
deba@458
    53
check_PROGRAMS += test/lp_test
deba@458
    54
endif HAVE_LP
deba@458
    55
if HAVE_MIP
deba@458
    56
check_PROGRAMS += test/mip_test
deba@458
    57
endif HAVE_MIP
deba@458
    58
ladanyi@1
    59
TESTS += $(check_PROGRAMS)
ladanyi@1
    60
XFAIL_TESTS += test/test_tools_fail$(EXEEXT)
alpar@4
    61
kpeter@465
    62
test_adaptors_test_SOURCES = test/adaptors_test.cc
kpeter@698
    63
test_bellman_ford_test_SOURCES = test/bellman_ford_test.cc
alpar@100
    64
test_bfs_test_SOURCES = test/bfs_test.cc
alpar@400
    65
test_circulation_test_SOURCES = test/circulation_test.cc
alpar@119
    66
test_counter_test_SOURCES = test/counter_test.cc
kpeter@649
    67
test_connectivity_test_SOURCES = test/connectivity_test.cc
alpar@100
    68
test_dfs_test_SOURCES = test/dfs_test.cc
deba@57
    69
test_digraph_test_SOURCES = test/digraph_test.cc
kpeter@170
    70
test_dijkstra_test_SOURCES = test/dijkstra_test.cc
alpar@8
    71
test_dim_test_SOURCES = test/dim_test.cc
deba@468
    72
test_edge_set_test_SOURCES = test/edge_set_test.cc
deba@108
    73
test_error_test_SOURCES = test/error_test.cc
ladanyi@522
    74
test_euler_test_SOURCES = test/euler_test.cc
deba@869
    75
test_fractional_matching_test_SOURCES = test/fractional_matching_test.cc
tapolcai@543
    76
test_gomory_hu_test_SOURCES = test/gomory_hu_test.cc
deba@200
    77
test_graph_copy_test_SOURCES = test/graph_copy_test.cc
deba@57
    78
test_graph_test_SOURCES = test/graph_test.cc
deba@139
    79
test_graph_utils_test_SOURCES = test/graph_utils_test.cc
deba@203
    80
test_heap_test_SOURCES = test/heap_test.cc
alpar@103
    81
test_kruskal_test_SOURCES = test/kruskal_test.cc
deba@410
    82
test_hao_orlin_test_SOURCES = test/hao_orlin_test.cc
deba@458
    83
test_lp_test_SOURCES = test/lp_test.cc
alpar@25
    84
test_maps_test_SOURCES = test/maps_test.cc
deba@458
    85
test_mip_test_SOURCES = test/mip_test.cc
kpeter@594
    86
test_matching_test_SOURCES = test/matching_test.cc
deba@501
    87
test_min_cost_arborescence_test_SOURCES = test/min_cost_arborescence_test.cc
kpeter@601
    88
test_min_cost_flow_test_SOURCES = test/min_cost_flow_test.cc
kpeter@763
    89
test_min_mean_cycle_test_SOURCES = test/min_mean_cycle_test.cc
alpar@96
    90
test_path_test_SOURCES = test/path_test.cc
deba@797
    91
test_planarity_test_SOURCES = test/planarity_test.cc
alpar@389
    92
test_preflow_test_SOURCES = test/preflow_test.cc
deba@441
    93
test_radix_sort_test_SOURCES = test/radix_sort_test.cc
alpar@345
    94
test_suurballe_test_SOURCES = test/suurballe_test.cc
alpar@10
    95
test_random_test_SOURCES = test/random_test.cc
alpar@4
    96
test_test_tools_fail_SOURCES = test/test_tools_fail.cc
alpar@4
    97
test_test_tools_pass_SOURCES = test/test_tools_pass.cc
alpar@119
    98
test_time_measure_test_SOURCES = test/time_measure_test.cc
alpar@103
    99
test_unionfind_test_SOURCES = test/unionfind_test.cc