diff options
Diffstat (limited to 'test/runtimes/BUILD')
-rw-r--r-- | test/runtimes/BUILD | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/test/runtimes/BUILD b/test/runtimes/BUILD index dfb4e2a97..367295206 100644 --- a/test/runtimes/BUILD +++ b/test/runtimes/BUILD @@ -1,6 +1,6 @@ # These packages are used to run language runtime tests inside gVisor sandboxes. -load("@io_bazel_rules_go//go:def.bzl", "go_binary") +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_test") load("//test/runtimes:build_defs.bzl", "runtime_test") package(licenses = ["notice"]) @@ -16,26 +16,38 @@ go_binary( ) runtime_test( - image = "gcr.io/gvisor-presubmit/go1.12", + name = "go1.12", + blacklist_file = "blacklist_go1.12.csv", lang = "go", ) runtime_test( - image = "gcr.io/gvisor-presubmit/java11", + name = "java11", + blacklist_file = "blacklist_java11.csv", lang = "java", ) runtime_test( - image = "gcr.io/gvisor-presubmit/nodejs12.4.0", + name = "nodejs12.4.0", + blacklist_file = "blacklist_nodejs12.4.0.csv", lang = "nodejs", ) runtime_test( - image = "gcr.io/gvisor-presubmit/php7.3.6", + name = "php7.3.6", + blacklist_file = "blacklist_php7.3.6.csv", lang = "php", ) runtime_test( - image = "gcr.io/gvisor-presubmit/python3.7.3", + name = "python3.7.3", + blacklist_file = "blacklist_python3.7.3.csv", lang = "python", ) + +go_test( + name = "blacklist_test", + size = "small", + srcs = ["blacklist_test.go"], + embed = [":runner"], +) |