-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathMakefile
More file actions
59 lines (44 loc) · 1.3 KB
/
Copy pathMakefile
File metadata and controls
59 lines (44 loc) · 1.3 KB
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
# See LICENSE for licensing information.
PROJECT = quic
PROJECT_DESCRIPTION = Pure Erlang QUIC implementation (RFC 9000).
PROJECT_VERSION = 0.10.2
# Options.
ERLC_OPTS = +debug_info
# Dependencies.
LOCAL_DEPS = crypto ssl public_key
# Standard targets.
ifndef ERLANG_MK_FILENAME
ERLANG_MK_VERSION = 2024.07.02
erlang.mk:
curl -o $@ https://raw.githubusercontent.com/ninenines/erlang.mk/v$(ERLANG_MK_VERSION)/erlang.mk
endif
include $(if $(ERLANG_MK_FILENAME),$(ERLANG_MK_FILENAME),erlang.mk)
##
## Test convenience targets layered on top of rebar3.
##
## `make test-local` runs everything that doesn't need Docker.
## `make test-docker` runs the h3spec conformance suite, which drives
## the kazu-yamamoto/h3spec container against our in-process server.
## `make test-all` runs both stages followed by static checks.
##
.PHONY: test-local test-docker test-all test-static
test-static:
rebar3 fmt --check
rebar3 xref
rebar3 lint
rebar3 dialyzer
test-local:
rebar3 eunit
rebar3 proper
rebar3 ct --suite=quic_e2e_SUITE,\
quic_e2e_bbr_SUITE,\
quic_e2e_cubic_SUITE,\
quic_h3_e2e_SUITE,\
quic_datagram_e2e_SUITE,\
quic_lb_e2e_SUITE,\
quic_client_compliance_SUITE,\
quic_interop_SUITE,\
quic_h3_server_SUITE
test-docker:
rebar3 ct --suite=quic_h3_h3spec_SUITE
test-all: test-local test-docker test-static