summaryrefslogtreecommitdiffhomepage
path: root/test/runtimes/common/BUILD
diff options
context:
space:
mode:
authorBrett Landau <brettlandau@google.com>2019-07-31 11:34:34 -0700
committergVisor bot <gvisor-bot@google.com>2019-07-31 11:35:47 -0700
commitedcc60b931232d5bea4254af31965da126f07a68 (patch)
treeeda49ea8c8435a74fb0de2e1d3ad0f69f7a230a1 /test/runtimes/common/BUILD
parent12c4eb294a43f4a84a789871730869d164ef52c9 (diff)
Refactor proctor binaries to implement testRunner interface.
Shared code among proctor-*.go files has been refactored into common/common.go. The common package is imported in each proctor binary and a struct is created to implement the testRunner interface defined in common.go. This allows for the proctor binaries to be updated without having to copy/paste the same code across all files. There are no usage or functionality changes. PiperOrigin-RevId: 260967080
Diffstat (limited to 'test/runtimes/common/BUILD')
-rw-r--r--test/runtimes/common/BUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/runtimes/common/BUILD b/test/runtimes/common/BUILD
new file mode 100644
index 000000000..7147e841a
--- /dev/null
+++ b/test/runtimes/common/BUILD
@@ -0,0 +1,10 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "common",
+ srcs = ["common.go"],
+ importpath = "gvisor.dev/gvisor/test/runtimes/common",
+ visibility = ["//:sandbox"],
+)