summaryrefslogtreecommitdiffhomepage
path: root/test/runtimes/common/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'test/runtimes/common/BUILD')
-rw-r--r--test/runtimes/common/BUILD12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/runtimes/common/BUILD b/test/runtimes/common/BUILD
index 7147e841a..1b39606b8 100644
--- a/test/runtimes/common/BUILD
+++ b/test/runtimes/common/BUILD
@@ -1,4 +1,4 @@
-load("@io_bazel_rules_go//go:def.bzl", "go_library")
+load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
package(licenses = ["notice"])
@@ -8,3 +8,13 @@ go_library(
importpath = "gvisor.dev/gvisor/test/runtimes/common",
visibility = ["//:sandbox"],
)
+
+go_test(
+ name = "common_test",
+ size = "small",
+ srcs = ["common_test.go"],
+ deps = [
+ ":common",
+ "//runsc/test/testutil",
+ ],
+)