summaryrefslogtreecommitdiffhomepage
path: root/test/packetdrill/BUILD
blob: de66cbe6d7ba127bc25d9ec1a1c70fa9ed95aa72 (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
load("//tools:defs.bzl", "bzl_library")
load("//test/packetdrill:defs.bzl", "packetdrill_test")

package(licenses = ["notice"])

packetdrill_test(
    name = "packetdrill_sanity_test",
    scripts = ["sanity_test.pkt"],
)

packetdrill_test(
    name = "accept_ack_drop_test",
    scripts = ["accept_ack_drop.pkt"],
)

packetdrill_test(
    name = "fin_wait2_timeout_test",
    scripts = ["fin_wait2_timeout.pkt"],
)

packetdrill_test(
    name = "listen_close_before_handshake_complete_test",
    scripts = ["listen_close_before_handshake_complete.pkt"],
)

packetdrill_test(
    name = "no_rst_to_rst_test",
    scripts = ["no_rst_to_rst.pkt"],
)

packetdrill_test(
    name = "tcp_defer_accept_test",
    scripts = ["tcp_defer_accept.pkt"],
)

packetdrill_test(
    name = "tcp_defer_accept_timeout_test",
    scripts = ["tcp_defer_accept_timeout.pkt"],
)

test_suite(
    name = "all_tests",
    tags = [
        "local",
        "manual",
        "packetdrill",
    ],
    tests = existing_rules(),
)

bzl_library(
    name = "defs_bzl",
    srcs = ["defs.bzl"],
    visibility = ["//visibility:private"],
)