Skip to content

Commit e64bb01

Browse files
authored
Merge pull request #4778 from google/remove_broken_tests_for_now
[bazel] remove broken tests for now so CI is more reliable We will re-enable them slowly.
2 parents 0487ac1 + 0484577 commit e64bb01

File tree

6 files changed

+0
-144
lines changed

6 files changed

+0
-144
lines changed

ortools/algorithms/BUILD.bazel

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -411,22 +411,3 @@ cc_library(
411411
"@abseil-cpp//absl/time",
412412
],
413413
)
414-
415-
cc_test(
416-
name = "n_choose_k_test",
417-
srcs = ["n_choose_k_test.cc"],
418-
deps = [
419-
":n_choose_k",
420-
"//ortools/base:dump_vars",
421-
"//ortools/base:fuzztest",
422-
"//ortools/base:gmock_main",
423-
"//ortools/base:mathutil",
424-
"//ortools/util:flat_matrix",
425-
"@abseil-cpp//absl/numeric:int128",
426-
"@abseil-cpp//absl/random",
427-
"@abseil-cpp//absl/random:distributions",
428-
"@abseil-cpp//absl/status",
429-
"@abseil-cpp//absl/status:statusor",
430-
"@google_benchmark//:benchmark",
431-
],
432-
)

ortools/base/BUILD.bazel

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -228,19 +228,6 @@ cc_library(
228228
],
229229
)
230230

231-
cc_library(
232-
name = "fuzztest",
233-
testonly = 1,
234-
hdrs = ["fuzztest.h"],
235-
deps = [
236-
"@abseil-cpp//absl/log:check",
237-
"@fuzztest//fuzztest",
238-
"@fuzztest//fuzztest:googletest_fixture_adapter",
239-
"@fuzztest//fuzztest:init_fuzztest",
240-
"@protobuf",
241-
],
242-
)
243-
244231
cc_library(
245232
name = "gmock",
246233
hdrs = ["gmock.h"],

ortools/math_opt/core/python/BUILD.bazel

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313

14-
load("@pip_deps//:requirements.bzl", "requirement")
1514
load("@pybind11_bazel//:build_defs.bzl", "pybind_extension")
16-
load("@rules_python//python:py_test.bzl", "py_test")
1715

1816
package(default_visibility = ["//ortools/math_opt:__subpackages__"])
1917

@@ -60,24 +58,3 @@ pybind_extension(
6058
"@pybind11_protobuf//pybind11_protobuf:native_proto_caster",
6159
],
6260
)
63-
64-
py_test(
65-
name = "solver_test",
66-
size = "small",
67-
srcs = ["solver_test.py"],
68-
deps = [
69-
":solver",
70-
requirement("absl-py"),
71-
"//ortools/math_opt:callback_py_pb2",
72-
"//ortools/math_opt:model_parameters_py_pb2",
73-
"//ortools/math_opt:model_py_pb2",
74-
"//ortools/math_opt:model_update_py_pb2",
75-
"//ortools/math_opt:parameters_py_pb2",
76-
"//ortools/math_opt:result_py_pb2",
77-
"//ortools/math_opt/solvers:cp_sat_solver",
78-
"//ortools/math_opt/solvers:glop_solver",
79-
"//ortools/math_opt/solvers:gscip_solver",
80-
"//ortools/util/python:pybind_solve_interrupter",
81-
"@pybind11_abseil//pybind11_abseil:status",
82-
],
83-
)

ortools/math_opt/elemental/BUILD.bazel

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -540,20 +540,6 @@ cc_test(
540540
],
541541
)
542542

543-
cc_test(
544-
name = "elemental_from_proto_fuzz_test",
545-
srcs = ["elemental_from_proto_fuzz_test.cc"],
546-
tags = ["componentid:1147829"],
547-
deps = [
548-
":elemental",
549-
":elemental_matcher",
550-
"//ortools/base:fuzztest",
551-
"//ortools/base:gmock_main",
552-
"//ortools/math_opt:model_update_cc_proto",
553-
"@abseil-cpp//absl/status:statusor",
554-
],
555-
)
556-
557543
cc_test(
558544
name = "elemental_update_from_proto_test",
559545
srcs = ["elemental_update_from_proto_test.cc"],

ortools/math_opt/solvers/BUILD.bazel

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -72,39 +72,6 @@ cc_library(
7272
alwayslink = 1,
7373
)
7474

75-
cc_test(
76-
name = "gscip_solver_test",
77-
size = "medium",
78-
srcs = ["gscip_solver_test.cc"],
79-
shard_count = 10,
80-
deps = [
81-
":gscip_solver",
82-
"//ortools/base:gmock",
83-
"//ortools/base:gmock_main",
84-
"//ortools/math_opt/cpp:matchers",
85-
"//ortools/math_opt/cpp:math_opt",
86-
"//ortools/math_opt/solver_tests:callback_tests",
87-
"//ortools/math_opt/solver_tests:generic_tests",
88-
"//ortools/math_opt/solver_tests:infeasible_subsystem_tests",
89-
"//ortools/math_opt/solver_tests:invalid_input_tests",
90-
"//ortools/math_opt/solver_tests:ip_model_solve_parameters_tests",
91-
"//ortools/math_opt/solver_tests:ip_multiple_solutions_tests",
92-
"//ortools/math_opt/solver_tests:ip_parameter_tests",
93-
"//ortools/math_opt/solver_tests:logical_constraint_tests",
94-
"//ortools/math_opt/solver_tests:mip_tests",
95-
"//ortools/math_opt/solver_tests:multi_objective_tests",
96-
"//ortools/math_opt/solver_tests:qc_tests",
97-
"//ortools/math_opt/solver_tests:qp_tests",
98-
"//ortools/math_opt/solver_tests:second_order_cone_tests",
99-
"//ortools/math_opt/solver_tests:status_tests",
100-
"//ortools/math_opt/solvers/gscip:gscip_parameters",
101-
"//ortools/math_opt/testing:param_name",
102-
"//ortools/port:scoped_std_stream_capture",
103-
"@abseil-cpp//absl/status",
104-
"@abseil-cpp//absl/status:statusor",
105-
],
106-
)
107-
10875
cc_library(
10976
name = "gurobi_callback",
11077
srcs = ["gurobi_callback.cc"],

ortools/math_opt/solvers/gscip/BUILD.bazel

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -123,33 +123,6 @@ cc_library(
123123
],
124124
)
125125

126-
cc_test(
127-
name = "gscip_test",
128-
size = "small",
129-
srcs = ["gscip_test.cc"],
130-
deps = [
131-
":gscip",
132-
":gscip_cc_proto",
133-
":gscip_parameters",
134-
":gscip_testing",
135-
"//ortools/base:file",
136-
"//ortools/base:gmock",
137-
"//ortools/base:gmock_main",
138-
"//ortools/base:logging",
139-
"//ortools/base:temp_file",
140-
"@abseil-cpp//absl/cleanup",
141-
"@abseil-cpp//absl/container:flat_hash_map",
142-
"@abseil-cpp//absl/container:flat_hash_set",
143-
"@abseil-cpp//absl/log:check",
144-
"@abseil-cpp//absl/status",
145-
"@abseil-cpp//absl/status:statusor",
146-
"@abseil-cpp//absl/strings",
147-
"@abseil-cpp//absl/synchronization",
148-
"@abseil-cpp//absl/time",
149-
"@scip",
150-
],
151-
)
152-
153126
cc_test(
154127
name = "gscip_io_test",
155128
size = "medium",
@@ -235,21 +208,6 @@ cc_library(
235208
],
236209
)
237210

238-
cc_test(
239-
name = "gscip_from_mp_model_proto_test",
240-
srcs = ["gscip_from_mp_model_proto_test.cc"],
241-
deps = [
242-
":gscip",
243-
":gscip_cc_proto",
244-
":gscip_from_mp_model_proto",
245-
":gscip_testing",
246-
"//ortools/base:gmock",
247-
"//ortools/base:gmock_main",
248-
"//ortools/base:parse_test_proto",
249-
"//ortools/linear_solver:linear_solver_cc_proto",
250-
],
251-
)
252-
253211
cc_library(
254212
name = "gscip_message_handler",
255213
srcs = ["gscip_message_handler.cc"],

0 commit comments

Comments
 (0)