1load("@rules_testing//lib:util.bzl", "util") 2load("//cc/toolchains:tool.bzl", "cc_tool") 3load("//tests/rule_based_toolchain:analysis_test_suite.bzl", "analysis_test_suite") 4load(":tool_test.bzl", "TARGETS", "TESTS") 5 6util.helper_target( 7 cc_tool, 8 name = "tool", 9 src = "//tests/rule_based_toolchain/testdata:bin_wrapper.sh", 10 data = ["//tests/rule_based_toolchain/testdata:bin"], 11 execution_requirements = ["requires-network"], 12 requires_any_of = ["//tests/rule_based_toolchain/features:direct_constraint"], 13) 14 15util.helper_target( 16 cc_tool, 17 name = "wrapped_tool", 18 src = "//tests/rule_based_toolchain/testdata:bin_wrapper", 19 visibility = ["//tests/rule_based_toolchain:__subpackages__"], 20) 21 22analysis_test_suite( 23 name = "test_suite", 24 targets = TARGETS, 25 tests = TESTS, 26) 27