summaryrefslogtreecommitdiffhomepage
path: root/runsc/sandbox/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/sandbox/BUILD')
-rw-r--r--runsc/sandbox/BUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/runsc/sandbox/BUILD b/runsc/sandbox/BUILD
index d625230dd..bca14c7b8 100644
--- a/runsc/sandbox/BUILD
+++ b/runsc/sandbox/BUILD
@@ -1,10 +1,11 @@
-load("//tools:defs.bzl", "go_library")
+load("//tools:defs.bzl", "go_library", "go_test")
package(licenses = ["notice"])
go_library(
name = "sandbox",
srcs = [
+ "memory.go",
"network.go",
"network_unsafe.go",
"sandbox.go",
@@ -39,3 +40,10 @@ go_library(
"@org_golang_x_sys//unix:go_default_library",
],
)
+
+go_test(
+ name = "sandbox_test",
+ size = "small",
+ srcs = ["memory_test.go"],
+ library = ":sandbox",
+)