Skip to content

Commit

Permalink
math_opt: disable broken test when using CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Oct 14, 2024
1 parent d77444d commit 294d9d3
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions ortools/math_opt/solver_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,16 @@ ortools_cxx_library(
TESTING
)

ortools_cxx_test(
NAME
${_PREFIX}_unregistered_solver_test
SOURCES
"unregistered_solver_test.cc"
LINK_LIBRARIES
GTest::gmock
GTest::gmock_main
)
# In CMake or-tools is linked with all enable solvers so this test won't work.
#ortools_cxx_test(
# NAME
# ${_PREFIX}_unregistered_solver_test
# SOURCES
# "unregistered_solver_test.cc"
# LINK_LIBRARIES
# GTest::gmock
# GTest::gmock_main
#)

ortools_cxx_library(
NAME
Expand Down

0 comments on commit 294d9d3

Please sign in to comment.