summaryrefslogtreecommitdiffhomepage
path: root/test/runtimes
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-08-06 12:08:12 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-06 12:10:49 -0700
commit90021e775a6e8059ea4f4262a16c4f962d3b9732 (patch)
tree836255772e78b9b2a623eecd336f19b2a5297319 /test/runtimes
parentb918d97850075cc353abf7b590b4e807e2984ab0 (diff)
Add bzl_library rules for .bzl files without one.
PiperOrigin-RevId: 325280924
Diffstat (limited to 'test/runtimes')
-rw-r--r--test/runtimes/BUILD7
-rw-r--r--test/runtimes/defs.bzl4
2 files changed, 11 insertions, 0 deletions
diff --git a/test/runtimes/BUILD b/test/runtimes/BUILD
index 3d0f10855..066338ee3 100644
--- a/test/runtimes/BUILD
+++ b/test/runtimes/BUILD
@@ -1,3 +1,4 @@
+load("//tools:defs.bzl", "bzl_library")
load("//test/runtimes:defs.bzl", "runtime_test")
package(licenses = ["notice"])
@@ -37,3 +38,9 @@ runtime_test(
lang = "python",
shard_count = 8,
)
+
+bzl_library(
+ name = "defs_bzl",
+ srcs = ["defs.bzl"],
+ visibility = ["//visibility:private"],
+)
diff --git a/test/runtimes/defs.bzl b/test/runtimes/defs.bzl
index db22029a8..702522d86 100644
--- a/test/runtimes/defs.bzl
+++ b/test/runtimes/defs.bzl
@@ -55,9 +55,13 @@ _runtime_test = rule(
),
"_runner": attr.label(
default = "//test/runtimes/runner:runner",
+ executable = True,
+ cfg = "target",
),
"_proctor": attr.label(
default = "//test/runtimes/proctor:proctor",
+ executable = True,
+ cfg = "target",
),
},
test = True,