diff options
Diffstat (limited to 'runsc/test/runtimes/BUILD')
-rw-r--r-- | runsc/test/runtimes/BUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/runsc/test/runtimes/BUILD b/runsc/test/runtimes/BUILD new file mode 100644 index 000000000..36d0a761e --- /dev/null +++ b/runsc/test/runtimes/BUILD @@ -0,0 +1,50 @@ +# These packages are used to run language runtime tests inside gVisor sandboxes. + +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") +load("//runsc/test:build_defs.bzl", "runtime_test") + +package(licenses = ["notice"]) + +go_library( + name = "runtimes", + srcs = ["runtimes.go"], + importpath = "gvisor.dev/gvisor/runsc/test/runtimes", +) + +runtime_test( + name = "runtimes_test", + size = "small", + srcs = ["runtimes_test.go"], + embed = [":runtimes"], + tags = [ + # Requires docker and runsc to be configured before the test runs. + "manual", + "local", + ], + deps = ["//runsc/test/testutil"], +) + +go_binary( + name = "proctor-go", + srcs = ["proctor-go.go"], +) + +go_binary( + name = "proctor-java", + srcs = ["proctor-java.go"], +) + +go_binary( + name = "proctor-nodejs", + srcs = ["proctor-nodejs.go"], +) + +go_binary( + name = "proctor-php", + srcs = ["proctor-php.go"], +) + +go_binary( + name = "proctor-python", + srcs = ["proctor-python.go"], +) |