Skip to content

Commit

Permalink
cmake: cleanup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Sep 23, 2024
1 parent f053be9 commit b38890b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
21 changes: 1 addition & 20 deletions ortools/graph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,9 @@
# limitations under the License.

file(GLOB _SRCS "*.h" "*.cc")
list(FILTER _SRCS EXCLUDE REGEX ".*/.*_test.cc")
list(REMOVE_ITEM _SRCS
${CMAKE_CURRENT_SOURCE_DIR}/assignment_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/bidirectional_dijkstra_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/bounded_dijkstra_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/christofides_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/cliques_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/dag_constrained_shortest_path_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/dag_shortest_path_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/ebert_graph_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/eulerian_path_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/hamiltonian_path_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/k_shortest_paths_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/linear_assignment_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/max_flow_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/min_cost_flow_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/minimum_spanning_tree_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/multi_dijkstra_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/one_tree_lower_bound_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/perfect_matching_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/rooted_tree_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/shortest_paths_benchmarks.cc
${CMAKE_CURRENT_SOURCE_DIR}/shortest_paths_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/solve_flow_model.cc
)

Expand Down
1 change: 1 addition & 0 deletions ortools/sat/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ if(BUILD_TESTING)
FILE_NAME
${FILE_NAME}
DEPS
benchmark::benchmark
GTest::gmock
GTest::gtest_main
)
Expand Down

0 comments on commit b38890b

Please sign in to comment.