From f1061aabaf57e2d3344129dcbcc4841cba0c2616 Mon Sep 17 00:00:00 2001 From: Nicolas Lacasse Date: Wed, 9 Oct 2019 11:10:08 -0700 Subject: Add blacklists for remaining runtime tests, and test that they parse correctly. PiperOrigin-RevId: 273781112 --- test/runtimes/BUILD | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'test/runtimes/BUILD') 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"], +) -- cgit v1.2.3