test/Makefile.am
author Peter Kovacs <kpeter@inf.elte.hu>
Mon, 08 Mar 2010 08:33:41 +0100
changeset 863 a93f1a27d831
parent 797 30cb42e3e43a
parent 793 7c0ad6bd6a63
child 874 d8ea85825e02
permissions -rw-r--r--
Fix gcc 3.3 compilation error (#354)

gcc 3.3 requires that a class has a default constructor if it has
template named parameters. (That constructor can be protected.)
     1 if USE_VALGRIND
     2 TESTS_ENVIRONMENT=$(top_srcdir)/scripts/valgrind-wrapper.sh
     3 endif
     4 
     5 EXTRA_DIST += \
     6 	test/CMakeLists.txt
     7 
     8 noinst_HEADERS += \
     9 	test/graph_test.h \
    10 	test/test_tools.h
    11 
    12 check_PROGRAMS += \
    13 	test/adaptors_test \
    14 	test/bellman_ford_test \
    15 	test/bfs_test \
    16 	test/circulation_test \
    17 	test/connectivity_test \
    18 	test/counter_test \
    19 	test/dfs_test \
    20 	test/digraph_test \
    21 	test/dijkstra_test \
    22 	test/dim_test \
    23 	test/edge_set_test \
    24 	test/error_test \
    25 	test/euler_test \
    26 	test/gomory_hu_test \
    27 	test/graph_copy_test \
    28 	test/graph_test \
    29 	test/graph_utils_test \
    30 	test/hao_orlin_test \
    31 	test/heap_test \
    32 	test/kruskal_test \
    33 	test/maps_test \
    34 	test/matching_test \
    35 	test/min_cost_arborescence_test \
    36 	test/min_cost_flow_test \
    37 	test/min_mean_cycle_test \
    38 	test/path_test \
    39 	test/planarity_test \
    40 	test/preflow_test \
    41 	test/radix_sort_test \
    42 	test/random_test \
    43 	test/suurballe_test \
    44 	test/test_tools_fail \
    45 	test/test_tools_pass \
    46 	test/time_measure_test \
    47 	test/unionfind_test
    48 
    49 test_test_tools_pass_DEPENDENCIES = demo
    50 
    51 if HAVE_LP
    52 check_PROGRAMS += test/lp_test
    53 endif HAVE_LP
    54 if HAVE_MIP
    55 check_PROGRAMS += test/mip_test
    56 endif HAVE_MIP
    57 
    58 TESTS += $(check_PROGRAMS)
    59 XFAIL_TESTS += test/test_tools_fail$(EXEEXT)
    60 
    61 test_adaptors_test_SOURCES = test/adaptors_test.cc
    62 test_bellman_ford_test_SOURCES = test/bellman_ford_test.cc
    63 test_bfs_test_SOURCES = test/bfs_test.cc
    64 test_circulation_test_SOURCES = test/circulation_test.cc
    65 test_counter_test_SOURCES = test/counter_test.cc
    66 test_connectivity_test_SOURCES = test/connectivity_test.cc
    67 test_dfs_test_SOURCES = test/dfs_test.cc
    68 test_digraph_test_SOURCES = test/digraph_test.cc
    69 test_dijkstra_test_SOURCES = test/dijkstra_test.cc
    70 test_dim_test_SOURCES = test/dim_test.cc
    71 test_edge_set_test_SOURCES = test/edge_set_test.cc
    72 test_error_test_SOURCES = test/error_test.cc
    73 test_euler_test_SOURCES = test/euler_test.cc
    74 test_gomory_hu_test_SOURCES = test/gomory_hu_test.cc
    75 test_graph_copy_test_SOURCES = test/graph_copy_test.cc
    76 test_graph_test_SOURCES = test/graph_test.cc
    77 test_graph_utils_test_SOURCES = test/graph_utils_test.cc
    78 test_heap_test_SOURCES = test/heap_test.cc
    79 test_kruskal_test_SOURCES = test/kruskal_test.cc
    80 test_hao_orlin_test_SOURCES = test/hao_orlin_test.cc
    81 test_lp_test_SOURCES = test/lp_test.cc
    82 test_maps_test_SOURCES = test/maps_test.cc
    83 test_mip_test_SOURCES = test/mip_test.cc
    84 test_matching_test_SOURCES = test/matching_test.cc
    85 test_min_cost_arborescence_test_SOURCES = test/min_cost_arborescence_test.cc
    86 test_min_cost_flow_test_SOURCES = test/min_cost_flow_test.cc
    87 test_min_mean_cycle_test_SOURCES = test/min_mean_cycle_test.cc
    88 test_path_test_SOURCES = test/path_test.cc
    89 test_planarity_test_SOURCES = test/planarity_test.cc
    90 test_preflow_test_SOURCES = test/preflow_test.cc
    91 test_radix_sort_test_SOURCES = test/radix_sort_test.cc
    92 test_suurballe_test_SOURCES = test/suurballe_test.cc
    93 test_random_test_SOURCES = test/random_test.cc
    94 test_test_tools_fail_SOURCES = test/test_tools_fail.cc
    95 test_test_tools_pass_SOURCES = test/test_tools_pass.cc
    96 test_time_measure_test_SOURCES = test/time_measure_test.cc
    97 test_unionfind_test_SOURCES = test/unionfind_test.cc