Use new bintest framework (#4928)
This commit is contained in:
committed by
Mizux Seiha
parent
6555f4d2e4
commit
b880e0fb64
@@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
|
||||
load("//bazel:run_binary_test.bzl", "run_binary_test")
|
||||
load("//tools/testing:bintest.bzl", "bintest")
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
@@ -28,8 +28,9 @@ cc_binary(
|
||||
],
|
||||
)
|
||||
|
||||
run_binary_test(
|
||||
bintest(
|
||||
name = "simple_glop_program_cc_test",
|
||||
size = "small",
|
||||
binary = ":simple_glop_program_cc",
|
||||
srcs = [":simple_glop_program_cc_test.bintest"],
|
||||
named_data = {"simple_glop_program_cc": ":simple_glop_program_cc"},
|
||||
)
|
||||
|
||||
1
ortools/glop/samples/simple_glop_program_cc_test.bintest
Normal file
1
ortools/glop/samples/simple_glop_program_cc_test.bintest
Normal file
@@ -0,0 +1 @@
|
||||
RUN: $(simple_glop_program_cc)
|
||||
Reference in New Issue
Block a user