src/test/Makefile.am
changeset 1373 284841d50d63
parent 1324 eca073533990
child 1387 37d1b20cd9ef
equal deleted inserted replaced
35:71c357a92e54 36:066b556ad508
     1 AM_CPPFLAGS = -I$(top_srcdir)/src
     1 AM_CPPFLAGS = -I$(top_srcdir)/src
     2 LDADD = $(top_builddir)/src/lemon/libemon.la
     2 LDADD = $(top_builddir)/src/lemon/libemon.la
     3 
     3 
     4 EXTRA_DIST = preflow_graph.dim dijkstra_test.lgf
     4 EXTRA_DIST = preflow_graph.dim dijkstra_test.lgf
       
     5 
     5 noinst_HEADERS = \
     6 noinst_HEADERS = \
     6 	test_tools.h \
     7 	test_tools.h \
     7 	graph_test.h \
     8 	graph_test.h \
     8 	sym_graph_test.h \
     9 	sym_graph_test.h \
     9 	map_test.h \
    10 	map_test.h \
    16 	dijkstra_test \
    17 	dijkstra_test \
    17 	graph_test \
    18 	graph_test \
    18 	graph_wrapper_test \
    19 	graph_wrapper_test \
    19 	graph_utils_test \
    20 	graph_utils_test \
    20 	kruskal_test \
    21 	kruskal_test \
    21 	lp_test \
    22 	max_matching_test \
    22         max_matching_test \
    23 	maps_test \
    23         maps_test \
       
    24 	min_cost_flow_test \
    24 	min_cost_flow_test \
    25 	suurballe_test \
    25 	suurballe_test \
    26 	path_test \
    26 	path_test \
    27 	preflow_test \
    27 	preflow_test \
    28 	test_tools_fail \
    28 	test_tools_fail \
    30 	time_measure_test \
    30 	time_measure_test \
    31 	unionfind_test \
    31 	unionfind_test \
    32 	undir_graph_test \
    32 	undir_graph_test \
    33 	xy_test \
    33 	xy_test \
    34 	heap_test
    34 	heap_test
       
    35 
       
    36 if HAVE_GLPK
       
    37 check_PROGRAMS += lp_test
       
    38 endif
    35 
    39 
    36 TESTS = $(check_PROGRAMS)
    40 TESTS = $(check_PROGRAMS)
    37 XFAIL_TESTS = test_tools_fail$(EXEEXT)
    41 XFAIL_TESTS = test_tools_fail$(EXEEXT)
    38 
    42 
    39 bfs_test_SOURCES = bfs_test.cc
    43 bfs_test_SOURCES = bfs_test.cc
    55 unionfind_test_SOURCES = unionfind_test.cc
    59 unionfind_test_SOURCES = unionfind_test.cc
    56 xy_test_SOURCES = xy_test.cc
    60 xy_test_SOURCES = xy_test.cc
    57 undir_graph_test_SOURCES = undir_graph_test.cc
    61 undir_graph_test_SOURCES = undir_graph_test.cc
    58 heap_test_SOURCES = heap_test.cc
    62 heap_test_SOURCES = heap_test.cc
    59 
    63 
    60 lp_test_LDADD = $(top_builddir)/src/lemon/libemon.la -lglpk
       
    61 lp_test_SOURCES = lp_test.cc
    64 lp_test_SOURCES = lp_test.cc
    62 
    65 lp_test_CXXFLAGS = $(GLPK_CFLAGS)
       
    66 lp_test_LDFLAGS = $(GLPK_LIBS)