summaryrefslogtreecommitdiffhomepage
path: root/test/runtimes/BUILD
blob: aeefa8f568bfbb9d432e7fbf253be76aa1f88263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
load("//test/runtimes:defs.bzl", "exclude_test", "runtime_test")

package(licenses = ["notice"])

go_binary(
    name = "runner",
    testonly = 1,
    srcs = ["runner.go"],
    visibility = ["//test/runtimes:__pkg__"],
    deps = [
        "//pkg/log",
        "//pkg/test/dockerutil",
        "//pkg/test/testutil",
    ],
)

runtime_test(
    name = "go1.12",
    exclude_file = "exclude/go1.12.csv",
    lang = "go",
    shard_count = 5,
)

runtime_test(
    name = "java11",
    exclude_file = "exclude/java11.csv",
    lang = "java",
    shard_count = 5,
)

runtime_test(
    name = "nodejs12.4.0",
    exclude_file = "exclude/nodejs12.4.0.csv",
    lang = "nodejs",
    shard_count = 5,
)

runtime_test(
    name = "php7.3.6",
    exclude_file = "exclude/php7.3.6.csv",
    lang = "php",
    shard_count = 5,
)

runtime_test(
    name = "python3.7.3",
    exclude_file = "exclude/python3.7.3.csv",
    lang = "python",
    shard_count = 5,
)

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",
)