Use new bintest framework (#4928)

This commit is contained in:
Guillaume Chatelet
2025-12-01 10:22:54 +01:00
committed by Mizux Seiha
parent 6555f4d2e4
commit b880e0fb64
227 changed files with 7091 additions and 1533 deletions

View File

@@ -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"},
)

View File

@@ -0,0 +1 @@
RUN: $(simple_glop_program_cc)