Disable mip_test when no LP solver is available.
authoralpar
Wed, 06 Sep 2006 08:36:52 +0000
changeset 2197921923afd57a
parent 2196 09af6d2b683b
child 2198 416b0c06b5c8
Disable mip_test when no LP solver is available.
test/Makefile.am
     1.1 --- a/test/Makefile.am	Mon Sep 04 20:07:37 2006 +0000
     1.2 +++ b/test/Makefile.am	Wed Sep 06 08:36:52 2006 +0000
     1.3 @@ -28,7 +28,6 @@
     1.4  	test/matrix_maps_test \
     1.5  	test/max_matching_test \
     1.6  	test/min_cost_flow_test \
     1.7 -	test/mip_test \
     1.8  	test/path_test \
     1.9  	test/polynomial_test \
    1.10  	test/preflow_test \
    1.11 @@ -44,10 +43,10 @@
    1.12  	test/xy_test
    1.13  
    1.14  if HAVE_GLPK
    1.15 -check_PROGRAMS += test/lp_test
    1.16 +check_PROGRAMS += test/lp_test test/mip_test
    1.17  else !HAVE_GLPK
    1.18  if HAVE_CPLEX
    1.19 -check_PROGRAMS += test/lp_test
    1.20 +check_PROGRAMS += test/lp_test test/mip_test
    1.21  endif HAVE_CPLEX
    1.22  endif !HAVE_GLPK
    1.23  
    1.24 @@ -71,7 +70,6 @@
    1.25  test_matrix_maps_test_SOURCES = test/matrix_maps_test.cc
    1.26  test_max_matching_test_SOURCES = test/max_matching_test.cc
    1.27  test_min_cost_flow_test_SOURCES = test/min_cost_flow_test.cc
    1.28 -test_mip_test_SOURCES = test/mip_test.cc
    1.29  test_path_test_SOURCES = test/path_test.cc
    1.30  test_polynomial_test_SOURCES = test/polynomial_test.cc
    1.31  test_preflow_test_SOURCES = test/preflow_test.cc
    1.32 @@ -88,3 +86,5 @@
    1.33  
    1.34  test_lp_test_SOURCES = test/lp_test.cc
    1.35  test_lp_test_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS)
    1.36 +test_mip_test_SOURCES = test/mip_test.cc
    1.37 +test_mip_test_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS)
    1.38 \ No newline at end of file