2019-07-22 20:18:27 +00:00
|
|
|
# These packages are used to run language runtime tests inside gVisor sandboxes.
|
|
|
|
|
2019-10-09 18:10:08 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_test")
|
2019-09-04 05:01:34 +00:00
|
|
|
load("//test/runtimes:build_defs.bzl", "runtime_test")
|
2019-07-22 20:18:27 +00:00
|
|
|
|
|
|
|
package(licenses = ["notice"])
|
|
|
|
|
2019-09-19 00:03:06 +00:00
|
|
|
go_binary(
|
|
|
|
name = "runner",
|
|
|
|
testonly = 1,
|
|
|
|
srcs = ["runner.go"],
|
|
|
|
deps = [
|
|
|
|
"//runsc/dockerutil",
|
|
|
|
"//runsc/testutil",
|
|
|
|
],
|
2019-07-22 20:18:27 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
runtime_test(
|
2019-10-30 23:14:30 +00:00
|
|
|
name = "go1.12",
|
2019-10-09 18:10:08 +00:00
|
|
|
blacklist_file = "blacklist_go1.12.csv",
|
2019-09-19 00:03:06 +00:00
|
|
|
lang = "go",
|
|
|
|
)
|
|
|
|
|
|
|
|
runtime_test(
|
2019-10-30 23:14:30 +00:00
|
|
|
name = "java11",
|
2019-10-09 18:10:08 +00:00
|
|
|
blacklist_file = "blacklist_java11.csv",
|
2019-09-19 00:03:06 +00:00
|
|
|
lang = "java",
|
|
|
|
)
|
|
|
|
|
|
|
|
runtime_test(
|
2019-10-30 23:14:30 +00:00
|
|
|
name = "nodejs12.4.0",
|
2019-10-01 19:46:54 +00:00
|
|
|
blacklist_file = "blacklist_nodejs12.4.0.csv",
|
2019-09-19 00:03:06 +00:00
|
|
|
lang = "nodejs",
|
|
|
|
)
|
|
|
|
|
|
|
|
runtime_test(
|
2019-10-30 23:14:30 +00:00
|
|
|
name = "php7.3.6",
|
2019-10-09 18:10:08 +00:00
|
|
|
blacklist_file = "blacklist_php7.3.6.csv",
|
2019-09-19 00:03:06 +00:00
|
|
|
lang = "php",
|
|
|
|
)
|
|
|
|
|
|
|
|
runtime_test(
|
2019-10-30 23:14:30 +00:00
|
|
|
name = "python3.7.3",
|
2019-10-09 18:10:08 +00:00
|
|
|
blacklist_file = "blacklist_python3.7.3.csv",
|
2019-09-19 00:03:06 +00:00
|
|
|
lang = "python",
|
2019-07-22 20:18:27 +00:00
|
|
|
)
|
2019-10-09 18:10:08 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "blacklist_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = ["blacklist_test.go"],
|
|
|
|
embed = [":runner"],
|
|
|
|
)
|