Changeset 528:88bd39ef7d98 in lemon-main for test
- Timestamp:
- 02/23/09 13:26:21 (16 years ago)
- Branch:
- default
- Parents:
- 527:c458e02723b1 (diff), 501:7f8560cb9d65 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Phase:
- public
- Location:
- test
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
test/CMakeLists.txt
r501 r528 1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}) 1 INCLUDE_DIRECTORIES( 2 ${CMAKE_SOURCE_DIR} 3 ${CMAKE_BINARY_DIR} 4 ) 5 6 IF(HAVE_GLPK) 7 INCLUDE_DIRECTORIES(${GLPK_INCLUDE_DIR}) 8 ENDIF(HAVE_GLPK) 2 9 3 10 LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon) 4 11 5 12 SET(TESTS 13 adaptors_test 6 14 bfs_test 15 circulation_test 7 16 counter_test 8 17 dfs_test … … 10 19 dijkstra_test 11 20 dim_test 21 edge_set_test 12 22 error_test 23 euler_test 13 24 graph_copy_test 14 25 graph_test … … 20 31 max_matching_test 21 32 min_cost_arborescence_test 33 path_test 34 preflow_test 35 radix_sort_test 22 36 random_test 23 path_test37 suurballe_test 24 38 time_measure_test 25 39 unionfind_test) 40 41 IF(HAVE_LP) 42 ADD_EXECUTABLE(lp_test lp_test.cc) 43 IF(HAVE_GLPK) 44 TARGET_LINK_LIBRARIES(lp_test lemon ${GLPK_LIBRARIES}) 45 ENDIF(HAVE_GLPK) 46 ADD_TEST(lp_test lp_test) 47 48 IF(WIN32 AND HAVE_GLPK) 49 GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION) 50 GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH) 51 ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD 52 COMMAND cmake -E copy ${GLPK_BIN_DIR}/glpk.dll ${TARGET_PATH} 53 COMMAND cmake -E copy ${GLPK_BIN_DIR}/libltdl3.dll ${TARGET_PATH} 54 COMMAND cmake -E copy ${GLPK_BIN_DIR}/zlib1.dll ${TARGET_PATH} 55 ) 56 ENDIF(WIN32 AND HAVE_GLPK) 57 ENDIF(HAVE_LP) 58 59 IF(HAVE_MIP) 60 ADD_EXECUTABLE(mip_test mip_test.cc) 61 IF(HAVE_GLPK) 62 TARGET_LINK_LIBRARIES(mip_test lemon ${GLPK_LIBRARIES}) 63 ENDIF(HAVE_GLPK) 64 ADD_TEST(mip_test mip_test) 65 66 IF(WIN32 AND HAVE_GLPK) 67 GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION) 68 GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH) 69 ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD 70 COMMAND cmake -E copy ${GLPK_BIN_DIR}/glpk.dll ${TARGET_PATH} 71 COMMAND cmake -E copy ${GLPK_BIN_DIR}/libltdl3.dll ${TARGET_PATH} 72 COMMAND cmake -E copy ${GLPK_BIN_DIR}/zlib1.dll ${TARGET_PATH} 73 ) 74 ENDIF(WIN32 AND HAVE_GLPK) 75 ENDIF(HAVE_MIP) 26 76 27 77 FOREACH(TEST_NAME ${TESTS}) -
test/CMakeLists.txt
r522 r528 30 30 maps_test 31 31 max_matching_test 32 min_cost_arborescence_test 32 33 path_test 33 34 preflow_test -
test/Makefile.am
r501 r528 1 1 EXTRA_DIST += \ 2 test/CMakeLists.txt \ 3 test/min_cost_flow_test.lgf \ 4 test/preflow_graph.lgf 2 test/CMakeLists.txt 5 3 6 4 noinst_HEADERS += \ 7 5 test/graph_test.h \ 8 6 test/test_tools.h 9 7 10 8 check_PROGRAMS += \ 9 test/adaptors_test \ 11 10 test/bfs_test \ 12 13 11 test/circulation_test \ 12 test/counter_test \ 14 13 test/dfs_test \ 15 14 test/digraph_test \ 16 15 test/dijkstra_test \ 17 test/dim_test \ 16 test/dim_test \ 17 test/edge_set_test \ 18 18 test/error_test \ 19 test/ graph_adaptor_test \19 test/euler_test \ 20 20 test/graph_copy_test \ 21 21 test/graph_test \ 22 22 test/graph_utils_test \ 23 test/hao_orlin_test \ 23 24 test/heap_test \ 24 25 test/kruskal_test \ 25 test/hao_orlin_test \ 26 test/maps_test \ 26 test/maps_test \ 27 27 test/max_matching_test \ 28 28 test/min_cost_arborescence_test \ 29 test/random_test \ 30 test/path_test \ 31 test/preflow_test \ 32 test/suurballe_test \ 33 test/test_tools_fail \ 34 test/test_tools_pass \ 35 test/time_measure_test \ 29 test/path_test \ 30 test/preflow_test \ 31 test/radix_sort_test \ 32 test/random_test \ 33 test/suurballe_test \ 34 test/test_tools_fail \ 35 test/test_tools_pass \ 36 test/time_measure_test \ 36 37 test/unionfind_test 38 39 if HAVE_LP 40 check_PROGRAMS += test/lp_test 41 endif HAVE_LP 42 if HAVE_MIP 43 check_PROGRAMS += test/mip_test 44 endif HAVE_MIP 37 45 38 46 TESTS += $(check_PROGRAMS) 39 47 XFAIL_TESTS += test/test_tools_fail$(EXEEXT) 40 48 49 test_adaptors_test_SOURCES = test/adaptors_test.cc 41 50 test_bfs_test_SOURCES = test/bfs_test.cc 42 51 test_circulation_test_SOURCES = test/circulation_test.cc … … 46 55 test_dijkstra_test_SOURCES = test/dijkstra_test.cc 47 56 test_dim_test_SOURCES = test/dim_test.cc 57 test_edge_set_test_SOURCES = test/edge_set_test.cc 48 58 test_error_test_SOURCES = test/error_test.cc 49 test_ graph_adaptor_test_SOURCES = test/graph_adaptor_test.cc59 test_euler_test_SOURCES = test/euler_test.cc 50 60 test_graph_copy_test_SOURCES = test/graph_copy_test.cc 51 61 test_graph_test_SOURCES = test/graph_test.cc … … 54 64 test_kruskal_test_SOURCES = test/kruskal_test.cc 55 65 test_hao_orlin_test_SOURCES = test/hao_orlin_test.cc 66 test_lp_test_SOURCES = test/lp_test.cc 56 67 test_maps_test_SOURCES = test/maps_test.cc 68 test_mip_test_SOURCES = test/mip_test.cc 57 69 test_max_matching_test_SOURCES = test/max_matching_test.cc 58 70 test_min_cost_arborescence_test_SOURCES = test/min_cost_arborescence_test.cc 59 71 test_path_test_SOURCES = test/path_test.cc 60 72 test_preflow_test_SOURCES = test/preflow_test.cc 73 test_radix_sort_test_SOURCES = test/radix_sort_test.cc 61 74 test_suurballe_test_SOURCES = test/suurballe_test.cc 62 75 test_random_test_SOURCES = test/random_test.cc -
test/Makefile.am
r522 r528 26 26 test/maps_test \ 27 27 test/max_matching_test \ 28 test/min_cost_arborescence_test \ 28 29 test/path_test \ 29 30 test/preflow_test \ … … 67 68 test_mip_test_SOURCES = test/mip_test.cc 68 69 test_max_matching_test_SOURCES = test/max_matching_test.cc 70 test_min_cost_arborescence_test_SOURCES = test/min_cost_arborescence_test.cc 69 71 test_path_test_SOURCES = test/path_test.cc 70 72 test_preflow_test_SOURCES = test/preflow_test.cc
Note: See TracChangeset
for help on using the changeset viewer.