diff options
author | Fabricio Voznika <fvoznika@google.com> | 2018-09-27 08:57:32 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-09-27 08:58:23 -0700 |
commit | 6910ff36434f4bc5aa8c6b3094b617c7c92a9803 (patch) | |
tree | 7caefb429e68f9af3739f984dc0f88a26840a753 /runsc/container/BUILD | |
parent | fca9a390db4c965b4606dd85838460841bd4ab14 (diff) |
Move uds_test_app to common test_app
This was done so it's easier to add more functionality
to this file for other tests.
PiperOrigin-RevId: 214782043
Change-Id: I1f38b9ee1219b3ce7b789044ada8e52bdc1e6279
Diffstat (limited to 'runsc/container/BUILD')
-rw-r--r-- | runsc/container/BUILD | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/runsc/container/BUILD b/runsc/container/BUILD index 72e2304bf..d72d05c13 100644 --- a/runsc/container/BUILD +++ b/runsc/container/BUILD @@ -2,13 +2,6 @@ package(licenses = ["notice"]) # Apache 2.0 load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") -go_binary( - name = "uds_test_app", - srcs = [ - "uds_test_app.go", - ], -) - go_library( name = "container", srcs = [ @@ -42,7 +35,7 @@ go_test( "multi_container_test.go", ], data = [ - ":uds_test_app", + ":test_app", "//runsc", ], embed = [":container"], @@ -64,3 +57,9 @@ go_test( "@org_golang_x_sys//unix:go_default_library", ], ) + +go_binary( + name = "test_app", + srcs = ["test_app.go"], + deps = ["@com_github_google_subcommands//:go_default_library"], +) |