test/Makefile.am
changeset 2114 677ea6c8169a
parent 2086 3fc072264f77
child 2119 4cf25c61ea65
equal deleted inserted replaced
13:bc048f48b015 14:3de9e7bb21d7
     1 AM_CPPFLAGS = -I$(top_srcdir) -fno-inline
     1 EXTRA_DIST += \
     2 LDADD = $(top_builddir)/lemon/libemon.la
     2 	test/preflow_graph.dim \
       
     3 	test/dijkstra_test.lgf
     3 
     4 
     4 EXTRA_DIST = preflow_graph.dim dijkstra_test.lgf
     5 noinst_HEADERS += \
       
     6 	test/test_tools.h \
       
     7 	test/graph_test.h \
       
     8 	test/map_test.h \
       
     9 	test/graph_utils_test.h \
       
    10 	test/heap_test.h
     5 
    11 
     6 noinst_HEADERS = \
    12 check_PROGRAMS += \
     7 	test_tools.h \
    13 	test/all_pairs_shortest_path_test \
     8 	graph_test.h \
    14 	test/arborescence_test \
     9 	map_test.h \
    15 	test/bfs_test \
    10 	graph_utils_test.h \
    16 	test/bipartite_matching_test \
    11 	heap_test.h
    17 	test/counter_test \
    12 
    18 	test/dfs_test \
    13 
    19 	test/dijkstra_test \
    14 check_PROGRAMS = \
    20 	test/edge_set_test \
    15 	all_pairs_shortest_path_test \
    21 	test/graph_adaptor_test \
    16 	arborescence_test \
    22 	test/graph_test \
    17 	bfs_test \
    23 	test/graph_utils_test \
    18 	bipartite_matching_test \
    24 	test/heap_test \
    19 	counter_test \
    25 	test/kruskal_test \
    20 	dfs_test \
    26 	test/maps_test \
    21 	dijkstra_test \
    27 	test/matrix_maps_test \
    22 	edge_set_test \
    28 	test/max_matching_test \
    23 	graph_adaptor_test \
    29 	test/min_cost_flow_test \
    24 	graph_test \
    30 	test/path_test \
    25 	graph_utils_test \
    31 	test/polynomial_test \
    26 	heap_test \
    32 	test/preflow_test \
    27 	kruskal_test \
    33 	test/radix_sort_test \
    28 	maps_test \
    34 	test/refptr_test \
    29 	matrix_maps_test \
    35 	test/simann_test \
    30 	max_matching_test \
    36 	test/suurballe_test \
    31 	min_cost_flow_test \
    37 	test/test_tools_fail \
    32 	path_test \
    38 	test/test_tools_pass \
    33 	polynomial_test \
    39 	test/time_measure_test \
    34 	preflow_test \
    40 	test/ugraph_test \
    35 	radix_sort_test \
    41 	test/unionfind_test \
    36 	refptr_test \
    42 	test/xy_test
    37 	simann_test \
       
    38 	suurballe_test \
       
    39 	test_tools_fail \
       
    40 	test_tools_pass \
       
    41 	time_measure_test \
       
    42 	ugraph_test \
       
    43 	unionfind_test \
       
    44 	xy_test
       
    45 
    43 
    46 if HAVE_GLPK
    44 if HAVE_GLPK
    47 check_PROGRAMS += lp_test
    45 check_PROGRAMS += test/lp_test
    48 else !HAVE_GLPK
    46 else !HAVE_GLPK
    49 if HAVE_CPLEX
    47 if HAVE_CPLEX
    50 check_PROGRAMS += lp_test
    48 check_PROGRAMS += test/lp_test
    51 endif HAVE_CPLEX
    49 endif HAVE_CPLEX
    52 endif !HAVE_GLPK
    50 endif !HAVE_GLPK
    53 
    51 
    54 TESTS = $(check_PROGRAMS)
    52 TESTS += $(check_PROGRAMS)
    55 XFAIL_TESTS = test_tools_fail$(EXEEXT)
    53 XFAIL_TESTS += test/test_tools_fail$(EXEEXT)
    56 
    54 
    57 all_pairs_shortest_path_test_SOURCES = all_pairs_shortest_path_test.cc
    55 test_all_pairs_shortest_path_test_SOURCES = test/all_pairs_shortest_path_test.cc
    58 arborescence_test_SOURCES = arborescence_test.cc
    56 test_arborescence_test_SOURCES = test/arborescence_test.cc
    59 bfs_test_SOURCES = bfs_test.cc
    57 test_bfs_test_SOURCES = test/bfs_test.cc
    60 bipartite_matching_test_SOURCES = bipartite_matching_test.cc
    58 test_bipartite_matching_test_SOURCES = test/bipartite_matching_test.cc
    61 counter_test_SOURCES = counter_test.cc
    59 test_counter_test_SOURCES = test/counter_test.cc
    62 dfs_test_SOURCES = dfs_test.cc
    60 test_dfs_test_SOURCES = test/dfs_test.cc
    63 dijkstra_test_SOURCES = dijkstra_test.cc
    61 test_dijkstra_test_SOURCES = test/dijkstra_test.cc
    64 edge_set_test_SOURCES = edge_set_test.cc
    62 test_edge_set_test_SOURCES = test/edge_set_test.cc
    65 graph_adaptor_test_SOURCES = graph_adaptor_test.cc
    63 test_graph_adaptor_test_SOURCES = test/graph_adaptor_test.cc
    66 graph_test_SOURCES = graph_test.cc
    64 test_graph_test_SOURCES = test/graph_test.cc
    67 graph_utils_test_SOURCES = graph_utils_test.cc
    65 test_graph_utils_test_SOURCES = test/graph_utils_test.cc
    68 heap_test_SOURCES = heap_test.cc
    66 test_heap_test_SOURCES = test/heap_test.cc
    69 kruskal_test_SOURCES = kruskal_test.cc
    67 test_kruskal_test_SOURCES = test/kruskal_test.cc
    70 maps_test_SOURCES = maps_test.cc
    68 test_maps_test_SOURCES = test/maps_test.cc
    71 matrix_maps_test_SOURCES = matrix_maps_test.cc
    69 test_matrix_maps_test_SOURCES = test/matrix_maps_test.cc
    72 max_matching_test_SOURCES = max_matching_test.cc
    70 test_max_matching_test_SOURCES = test/max_matching_test.cc
    73 min_cost_flow_test_SOURCES = min_cost_flow_test.cc
    71 test_min_cost_flow_test_SOURCES = test/min_cost_flow_test.cc
    74 path_test_SOURCES = path_test.cc
    72 test_path_test_SOURCES = test/path_test.cc
    75 polynomial_test_SOURCES = polynomial_test.cc
    73 test_polynomial_test_SOURCES = test/polynomial_test.cc
    76 preflow_test_SOURCES = preflow_test.cc
    74 test_preflow_test_SOURCES = test/preflow_test.cc
    77 radix_sort_test_SOURCES = radix_sort_test.cc
    75 test_radix_sort_test_SOURCES = test/radix_sort_test.cc
    78 refptr_test_SOURCES = refptr_test.cc
    76 test_refptr_test_SOURCES = test/refptr_test.cc
    79 simann_test_SOURCES = simann_test.cc
    77 test_simann_test_SOURCES = test/simann_test.cc
    80 suurballe_test_SOURCES = suurballe_test.cc
    78 test_suurballe_test_SOURCES = test/suurballe_test.cc
    81 test_tools_fail_SOURCES = test_tools_fail.cc
    79 test_test_tools_fail_SOURCES = test/test_tools_fail.cc
    82 test_tools_pass_SOURCES = test_tools_pass.cc
    80 test_test_tools_pass_SOURCES = test/test_tools_pass.cc
    83 time_measure_test_SOURCES = time_measure_test.cc
    81 test_time_measure_test_SOURCES = test/time_measure_test.cc
    84 ugraph_test_SOURCES = ugraph_test.cc
    82 test_ugraph_test_SOURCES = test/ugraph_test.cc
    85 unionfind_test_SOURCES = unionfind_test.cc
    83 test_unionfind_test_SOURCES = test/unionfind_test.cc
    86 xy_test_SOURCES = xy_test.cc
    84 test_xy_test_SOURCES = test/xy_test.cc
    87 
    85 
    88 lp_test_SOURCES = lp_test.cc
    86 test_lp_test_SOURCES = test/lp_test.cc
    89 lp_test_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS)
    87 test_lp_test_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS)