test/Makefile.am
author deba
Wed, 06 Sep 2006 10:01:15 +0000
changeset 2200 2f2ac1b1ca1e
parent 2144 cd8897f67c26
child 2207 75a29ac69c19
permissions -rw-r--r--
An easy avoiding of a bug

The functional interfaces are removed.
Better solution could be a reference counted core of the io interfaces

Now it is huge work so just write that:

GraphReader<ListGraph>(std::cin, graph).

Instead of:

graphReader(std::cin, graph).
     1 EXTRA_DIST += \
     2 	test/Makefile \
     3 	test/preflow_graph.dim \
     4 	test/dijkstra_test.lgf
     5 
     6 noinst_HEADERS += \
     7 	test/test_tools.h \
     8 	test/graph_test.h \
     9 	test/map_test.h \
    10 	test/graph_utils_test.h \
    11 	test/heap_test.h
    12 
    13 check_PROGRAMS += \
    14 	test/all_pairs_shortest_path_test \
    15 	test/arborescence_test \
    16 	test/bfs_test \
    17 	test/bipartite_matching_test \
    18 	test/counter_test \
    19 	test/dfs_test \
    20 	test/dijkstra_test \
    21 	test/edge_set_test \
    22 	test/graph_adaptor_test \
    23 	test/graph_test \
    24 	test/graph_utils_test \
    25 	test/heap_test \
    26 	test/kruskal_test \
    27 	test/maps_test \
    28 	test/matrix_maps_test \
    29 	test/max_matching_test \
    30 	test/min_cost_flow_test \
    31 	test/path_test \
    32 	test/polynomial_test \
    33 	test/preflow_test \
    34 	test/radix_sort_test \
    35 	test/refptr_test \
    36 	test/simann_test \
    37 	test/suurballe_test \
    38 	test/test_tools_fail \
    39 	test/test_tools_pass \
    40 	test/time_measure_test \
    41 	test/ugraph_test \
    42 	test/unionfind_test \
    43 	test/xy_test
    44 
    45 if HAVE_GLPK
    46 check_PROGRAMS += test/lp_test test/mip_test
    47 else !HAVE_GLPK
    48 if HAVE_CPLEX
    49 check_PROGRAMS += test/lp_test test/mip_test
    50 endif HAVE_CPLEX
    51 endif !HAVE_GLPK
    52 
    53 TESTS += $(check_PROGRAMS)
    54 XFAIL_TESTS += test/test_tools_fail$(EXEEXT)
    55 
    56 test_all_pairs_shortest_path_test_SOURCES = test/all_pairs_shortest_path_test.cc
    57 test_arborescence_test_SOURCES = test/arborescence_test.cc
    58 test_bfs_test_SOURCES = test/bfs_test.cc
    59 test_bipartite_matching_test_SOURCES = test/bipartite_matching_test.cc
    60 test_counter_test_SOURCES = test/counter_test.cc
    61 test_dfs_test_SOURCES = test/dfs_test.cc
    62 test_dijkstra_test_SOURCES = test/dijkstra_test.cc
    63 test_edge_set_test_SOURCES = test/edge_set_test.cc
    64 test_graph_adaptor_test_SOURCES = test/graph_adaptor_test.cc
    65 test_graph_test_SOURCES = test/graph_test.cc
    66 test_graph_utils_test_SOURCES = test/graph_utils_test.cc
    67 test_heap_test_SOURCES = test/heap_test.cc
    68 test_kruskal_test_SOURCES = test/kruskal_test.cc
    69 test_maps_test_SOURCES = test/maps_test.cc
    70 test_matrix_maps_test_SOURCES = test/matrix_maps_test.cc
    71 test_max_matching_test_SOURCES = test/max_matching_test.cc
    72 test_min_cost_flow_test_SOURCES = test/min_cost_flow_test.cc
    73 test_path_test_SOURCES = test/path_test.cc
    74 test_polynomial_test_SOURCES = test/polynomial_test.cc
    75 test_preflow_test_SOURCES = test/preflow_test.cc
    76 test_radix_sort_test_SOURCES = test/radix_sort_test.cc
    77 test_refptr_test_SOURCES = test/refptr_test.cc
    78 test_simann_test_SOURCES = test/simann_test.cc
    79 test_suurballe_test_SOURCES = test/suurballe_test.cc
    80 test_test_tools_fail_SOURCES = test/test_tools_fail.cc
    81 test_test_tools_pass_SOURCES = test/test_tools_pass.cc
    82 test_time_measure_test_SOURCES = test/time_measure_test.cc
    83 test_ugraph_test_SOURCES = test/ugraph_test.cc
    84 test_unionfind_test_SOURCES = test/unionfind_test.cc
    85 test_xy_test_SOURCES = test/xy_test.cc
    86 
    87 test_lp_test_SOURCES = test/lp_test.cc
    88 test_lp_test_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS)
    89 test_mip_test_SOURCES = test/mip_test.cc
    90 test_mip_test_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS)