2020-07-16 21:35:39 +00:00
|
|
|
load("//test/runtimes:defs.bzl", "exclude_test", "runtime_test")
|
2019-07-22 20:18:27 +00:00
|
|
|
|
|
|
|
package(licenses = ["notice"])
|
|
|
|
|
2020-07-16 21:35:39 +00:00
|
|
|
go_binary(
|
|
|
|
name = "runner",
|
|
|
|
testonly = 1,
|
|
|
|
srcs = ["runner.go"],
|
|
|
|
visibility = ["//test/runtimes:__pkg__"],
|
|
|
|
deps = [
|
|
|
|
"//pkg/log",
|
|
|
|
"//pkg/test/dockerutil",
|
|
|
|
"//pkg/test/testutil",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2019-07-22 20:18:27 +00:00
|
|
|
runtime_test(
|
2019-10-30 23:14:30 +00:00
|
|
|
name = "go1.12",
|
2020-07-16 21:35:39 +00:00
|
|
|
exclude_file = "exclude/go1.12.csv",
|
2019-09-19 00:03:06 +00:00
|
|
|
lang = "go",
|
2020-07-11 15:17:07 +00:00
|
|
|
shard_count = 5,
|
2019-09-19 00:03:06 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
runtime_test(
|
2019-10-30 23:14:30 +00:00
|
|
|
name = "java11",
|
2020-07-16 21:35:39 +00:00
|
|
|
exclude_file = "exclude/java11.csv",
|
2019-09-19 00:03:06 +00:00
|
|
|
lang = "java",
|
2020-07-16 21:35:39 +00:00
|
|
|
shard_count = 5,
|
2019-09-19 00:03:06 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
runtime_test(
|
2019-10-30 23:14:30 +00:00
|
|
|
name = "nodejs12.4.0",
|
2020-07-16 21:35:39 +00:00
|
|
|
exclude_file = "exclude/nodejs12.4.0.csv",
|
2019-09-19 00:03:06 +00:00
|
|
|
lang = "nodejs",
|
2020-07-11 15:17:07 +00:00
|
|
|
shard_count = 5,
|
2019-09-19 00:03:06 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
runtime_test(
|
2019-10-30 23:14:30 +00:00
|
|
|
name = "php7.3.6",
|
2020-07-16 21:35:39 +00:00
|
|
|
exclude_file = "exclude/php7.3.6.csv",
|
2019-09-19 00:03:06 +00:00
|
|
|
lang = "php",
|
2020-07-11 15:17:07 +00:00
|
|
|
shard_count = 5,
|
2019-09-19 00:03:06 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
runtime_test(
|
2019-10-30 23:14:30 +00:00
|
|
|
name = "python3.7.3",
|
2020-07-16 21:35:39 +00:00
|
|
|
exclude_file = "exclude/python3.7.3.csv",
|
2019-09-19 00:03:06 +00:00
|
|
|
lang = "python",
|
2020-07-11 15:17:07 +00:00
|
|
|
shard_count = 5,
|
2019-07-22 20:18:27 +00:00
|
|
|
)
|
2020-07-16 21:35:39 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "exclude_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = ["exclude_test.go"],
|
|
|
|
library = ":runner",
|
|
|
|
)
|
|
|
|
|
|
|
|
exclude_test(
|
|
|
|
name = "go",
|
|
|
|
exclude_file = "exclude/go1.12.csv",
|
|
|
|
)
|
|
|
|
|
|
|
|
exclude_test(
|
|
|
|
name = "java",
|
|
|
|
exclude_file = "exclude/java11.csv",
|
|
|
|
)
|
|
|
|
|
|
|
|
exclude_test(
|
|
|
|
name = "nodejs",
|
|
|
|
exclude_file = "exclude/nodejs12.4.0.csv",
|
|
|
|
)
|
|
|
|
|
|
|
|
exclude_test(
|
|
|
|
name = "php",
|
|
|
|
exclude_file = "exclude/php7.3.6.csv",
|
|
|
|
)
|
|
|
|
|
|
|
|
exclude_test(
|
|
|
|
name = "python",
|
|
|
|
exclude_file = "exclude/python3.7.3.csv",
|
|
|
|
)
|