From e7803aebf77c07c2564650060139f2dbc6c7e71e Mon Sep 17 00:00:00 2001 From: John Cater Date: Thu, 30 Apr 2026 11:07:02 -0400 Subject: [PATCH] Fix tests for Bazel 9. Adds a dependency on rules_shell and the correct load statements. --- MODULE.bazel | 2 ++ tests/host/BUILD | 1 + 2 files changed, 3 insertions(+) diff --git a/MODULE.bazel b/MODULE.bazel index 7926b8b..41b5f28 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -7,5 +7,7 @@ module( bazel_dep(name = "package_metadata", version = "0.0.3") bazel_dep(name = "rules_license", version = "0.0.7") +bazel_dep(name = "rules_shell", version = "0.8.0", dev_dependency = True) + host_platform = use_extension("//host:extension.bzl", "host_platform") use_repo(host_platform, "host_platform") diff --git a/tests/host/BUILD b/tests/host/BUILD index 49ffd55..8f268a5 100644 --- a/tests/host/BUILD +++ b/tests/host/BUILD @@ -1,3 +1,4 @@ +load("@rules_shell//shell:sh_test.bzl", "sh_test") load("//host:constraints.bzl", "HOST_CONSTRAINTS") package(default_visibility = ["//visibility:private"])