diff options
author | Fabricio Voznika <fvoznika@google.com> | 2018-06-04 11:25:40 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-06-04 11:26:30 -0700 |
commit | a0e2126be49e5eda45dcaead497129c08e08a1e5 (patch) | |
tree | 7aa14cf98fee2c38c015b7a4862212a5a02d86f1 /runsc/BUILD | |
parent | 0929bdee3450aa6bc2393227127fe72405b82e4a (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/BUILD | 3 |
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", |