src/test/Makefile.am
author ladanyi
Sun, 24 Apr 2005 22:26:37 +0000
changeset 1385 49d1ca28ebd8
parent 1324 eca073533990
child 1387 37d1b20cd9ef
permissions -rw-r--r--
Don't set {GLPK,CPLEX}_{CFLAGS,LIBS} if the check fails.
     1 AM_CPPFLAGS = -I$(top_srcdir)/src
     2 LDADD = $(top_builddir)/src/lemon/libemon.la
     3 
     4 EXTRA_DIST = preflow_graph.dim dijkstra_test.lgf
     5 
     6 noinst_HEADERS = \
     7 	test_tools.h \
     8 	graph_test.h \
     9 	sym_graph_test.h \
    10 	map_test.h \
    11 	graph_utils_test.h \
    12 	heap_test.h
    13 
    14 check_PROGRAMS = \
    15 	bfs_test \
    16 	dfs_test \
    17 	dijkstra_test \
    18 	graph_test \
    19 	graph_wrapper_test \
    20 	graph_utils_test \
    21 	kruskal_test \
    22 	max_matching_test \
    23 	maps_test \
    24 	min_cost_flow_test \
    25 	suurballe_test \
    26 	path_test \
    27 	preflow_test \
    28 	test_tools_fail \
    29 	test_tools_pass \
    30 	time_measure_test \
    31 	unionfind_test \
    32 	undir_graph_test \
    33 	xy_test \
    34 	heap_test
    35 
    36 if HAVE_GLPK
    37 check_PROGRAMS += lp_test
    38 endif
    39 
    40 TESTS = $(check_PROGRAMS)
    41 XFAIL_TESTS = test_tools_fail$(EXEEXT)
    42 
    43 bfs_test_SOURCES = bfs_test.cc
    44 dfs_test_SOURCES = dfs_test.cc
    45 dijkstra_test_SOURCES = dijkstra_test.cc
    46 graph_test_SOURCES = graph_test.cc
    47 graph_utils_test_SOURCES = graph_utils_test.cc
    48 graph_wrapper_test_SOURCES = graph_wrapper_test.cc
    49 kruskal_test_SOURCES = kruskal_test.cc
    50 maps_test_SOURCES = maps_test.cc
    51 min_cost_flow_test_SOURCES = min_cost_flow_test.cc
    52 max_matching_test_SOURCES = max_matching_test.cc
    53 suurballe_test_SOURCES = suurballe_test.cc
    54 path_test_SOURCES = path_test.cc
    55 preflow_test_SOURCES = preflow_test.cc
    56 time_measure_test_SOURCES = time_measure_test.cc
    57 test_tools_fail_SOURCES = test_tools_fail.cc
    58 test_tools_pass_SOURCES = test_tools_pass.cc
    59 unionfind_test_SOURCES = unionfind_test.cc
    60 xy_test_SOURCES = xy_test.cc
    61 undir_graph_test_SOURCES = undir_graph_test.cc
    62 heap_test_SOURCES = heap_test.cc
    63 
    64 lp_test_SOURCES = lp_test.cc
    65 lp_test_CXXFLAGS = $(GLPK_CFLAGS)
    66 lp_test_LDFLAGS = $(GLPK_LIBS)