aboutsummaryrefslogtreecommitdiffstats
path: root/test/tracer_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/tracer_SUITE.erl')
-rw-r--r--test/tracer_SUITE.erl18
1 files changed, 10 insertions, 8 deletions
diff --git a/test/tracer_SUITE.erl b/test/tracer_SUITE.erl
index d5683a0..af1f8f3 100644
--- a/test/tracer_SUITE.erl
+++ b/test/tracer_SUITE.erl
@@ -1,4 +1,4 @@
-%% Copyright (c) 2017, Loïc Hoguin <[email protected]>
+%% Copyright (c) 2017-2024, Loïc Hoguin <[email protected]>
%%
%% Permission to use, copy, modify, and/or distribute this software for any
%% purpose with or without fee is hereby granted, provided that the above
@@ -29,13 +29,15 @@ suite() ->
%% We initialize trace patterns here. Appropriate would be in
%% init_per_suite/1, but this works just as well.
all() ->
- case code:is_module_native(?MODULE) of
- true ->
- {skip, "The Cowboy tracer is not compatible with native code."};
- false ->
- cowboy_tracer_h:set_trace_patterns(),
- cowboy_test:common_all()
- end.
+ %% @todo Implement these tests for HTTP/3.
+ cowboy_test:common_all() -- [{group, h3}, {group, h3_compress}].
+
+init_per_suite(Config) ->
+ cowboy_tracer_h:set_trace_patterns(),
+ Config.
+
+end_per_suite(_) ->
+ ok.
%% We want tests for each group to execute sequentially
%% because we need to modify the protocol options. Groups