summaryrefslogtreecommitdiffhomepage
path: root/runsc/BUILD
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-06-04 11:25:40 -0700
committerShentubot <shentubot@google.com>2018-06-04 11:26:30 -0700
commita0e2126be49e5eda45dcaead497129c08e08a1e5 (patch)
tree7aa14cf98fee2c38c015b7a4862212a5a02d86f1 /runsc/BUILD
parent0929bdee3450aa6bc2393227127fe72405b82e4a (diff)
Refactor container_test in preparation for sandbox_test
Common code to setup and run sandbox is moved to testutil. Also, don't link "boot" and "gofer" commands with test binary. Instead, use runsc binary from the build. This not only make the test setup simpler, but also resolves a dependency issue with sandbox_tests not depending on container package. PiperOrigin-RevId: 199164478 Change-Id: I27226286ca3f914d4d381358270dd7d70ee8372f
Diffstat (limited to 'runsc/BUILD')
-rw-r--r--runsc/BUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/runsc/BUILD b/runsc/BUILD
index 8f8e2ee35..2f0bbaf2b 100644
--- a/runsc/BUILD
+++ b/runsc/BUILD
@@ -8,6 +8,9 @@ go_binary(
"main.go",
],
pure = "on",
+ visibility = [
+ "//runsc:__subpackages__",
+ ],
x_defs = {"main.gitRevision": "{GIT_REVISION}"},
deps = [
"//pkg/log",