summaryrefslogtreecommitdiffhomepage
path: root/test/runtimes/BUILD
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2019-10-09 11:10:08 -0700
committergVisor bot <gvisor-bot@google.com>2019-10-09 11:22:53 -0700
commitf1061aabaf57e2d3344129dcbcc4841cba0c2616 (patch)
treed8dbeef2e6e8236ac0b8ff5cbd1bcefb9dec3ea5 /test/runtimes/BUILD
parent559aba7670694093fa64f2f7bcc06eff004da7cc (diff)
Add blacklists for remaining runtime tests, and test that they parse correctly.
PiperOrigin-RevId: 273781112
Diffstat (limited to 'test/runtimes/BUILD')
-rw-r--r--test/runtimes/BUILD13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/runtimes/BUILD b/test/runtimes/BUILD
index 1cde74cfc..2e125525b 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,11 +16,13 @@ go_binary(
)
runtime_test(
+ blacklist_file = "blacklist_go1.12.csv",
image = "gcr.io/gvisor-presubmit/go1.12",
lang = "go",
)
runtime_test(
+ blacklist_file = "blacklist_java11.csv",
image = "gcr.io/gvisor-presubmit/java11",
lang = "java",
)
@@ -32,11 +34,20 @@ runtime_test(
)
runtime_test(
+ blacklist_file = "blacklist_php7.3.6.csv",
image = "gcr.io/gvisor-presubmit/php7.3.6",
lang = "php",
)
runtime_test(
+ blacklist_file = "blacklist_python3.7.3.csv",
image = "gcr.io/gvisor-presubmit/python3.7.3",
lang = "python",
)
+
+go_test(
+ name = "blacklist_test",
+ size = "small",
+ srcs = ["blacklist_test.go"],
+ embed = [":runner"],
+)