Skip to content

Commit a97c277

Browse files
Merge pull request #12866 from rabbitmq/gazelle-v4.0.x
bazel run gazelle
2 parents c0e9eb0 + 041a7c4 commit a97c277

File tree

4 files changed

+57
-32
lines changed

4 files changed

+57
-32
lines changed

deps/rabbit/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,6 +1345,7 @@ eunit(
13451345
":test_test_rabbit_event_handler_beam",
13461346
":test_clustering_utils_beam",
13471347
":test_event_recorder_beam",
1348+
":test_rabbit_ct_hook_beam",
13481349
],
13491350
target = ":test_erlang_app",
13501351
test_env = {

deps/rabbit/app.bzl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2170,3 +2170,11 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
21702170
erlc_opts = "//:test_erlc_opts",
21712171
deps = ["//deps/amqp_client:erlang_app"],
21722172
)
2173+
erlang_bytecode(
2174+
name = "test_rabbit_ct_hook_beam",
2175+
testonly = True,
2176+
srcs = ["test/rabbit_ct_hook.erl"],
2177+
outs = ["test/rabbit_ct_hook.beam"],
2178+
app_name = "rabbit",
2179+
erlc_opts = "//:test_erlc_opts",
2180+
)

deps/rabbitmq_mqtt/app.bzl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -255,15 +255,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
255255
erlc_opts = "//:test_erlc_opts",
256256
)
257257

258-
erlang_bytecode(
259-
name = "shared_SUITE_beam_files",
260-
testonly = True,
261-
srcs = ["test/shared_SUITE.erl"],
262-
outs = ["test/shared_SUITE.beam"],
263-
app_name = "rabbitmq_mqtt",
264-
erlc_opts = "//:test_erlc_opts",
265-
deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"],
266-
)
267258
erlang_bytecode(
268259
name = "test_event_recorder_beam",
269260
testonly = True,
@@ -329,3 +320,12 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
329320
erlc_opts = "//:test_erlc_opts",
330321
deps = ["//deps/amqp10_common:erlang_app", "//deps/amqp_client:erlang_app", "//deps/rabbitmq_stomp:erlang_app"],
331322
)
323+
erlang_bytecode(
324+
name = "mqtt_shared_SUITE_beam_files",
325+
testonly = True,
326+
srcs = ["test/mqtt_shared_SUITE.erl"],
327+
outs = ["test/mqtt_shared_SUITE.beam"],
328+
app_name = "rabbitmq_mqtt",
329+
erlc_opts = "//:test_erlc_opts",
330+
deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"],
331+
)

deps/rabbitmq_web_mqtt/app.bzl

Lines changed: 39 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -93,60 +93,76 @@ def all_srcs(name = "all_srcs"):
9393

9494
def test_suite_beam_files(name = "test_suite_beam_files"):
9595
erlang_bytecode(
96-
name = "config_schema_SUITE_beam_files",
96+
name = "test_src_rabbit_ws_test_util_beam",
9797
testonly = True,
98-
srcs = ["test/config_schema_SUITE.erl"],
99-
outs = ["test/config_schema_SUITE.beam"],
98+
srcs = ["test/src/rabbit_ws_test_util.erl"],
99+
outs = ["test/src/rabbit_ws_test_util.beam"],
100100
app_name = "rabbitmq_web_mqtt",
101101
erlc_opts = "//:test_erlc_opts",
102102
)
103103
erlang_bytecode(
104-
name = "proxy_protocol_SUITE_beam_files",
104+
name = "test_src_rfc6455_client_beam",
105105
testonly = True,
106-
srcs = ["test/proxy_protocol_SUITE.erl"],
107-
outs = ["test/proxy_protocol_SUITE.beam"],
106+
srcs = ["test/src/rfc6455_client.erl"],
107+
outs = ["test/src/rfc6455_client.beam"],
108108
app_name = "rabbitmq_web_mqtt",
109109
erlc_opts = "//:test_erlc_opts",
110110
)
111+
111112
erlang_bytecode(
112-
name = "system_SUITE_beam_files",
113+
name = "test_rabbit_web_mqtt_test_util_beam",
113114
testonly = True,
114-
srcs = ["test/system_SUITE.erl"],
115-
outs = ["test/system_SUITE.beam"],
115+
srcs = ["test/rabbit_web_mqtt_test_util.erl"],
116+
outs = ["test/rabbit_web_mqtt_test_util.beam"],
116117
app_name = "rabbitmq_web_mqtt",
117118
erlc_opts = "//:test_erlc_opts",
118119
)
119-
120120
erlang_bytecode(
121-
name = "test_src_rabbit_ws_test_util_beam",
121+
name = "web_mqtt_command_SUITE_beam_files",
122122
testonly = True,
123-
srcs = ["test/src/rabbit_ws_test_util.erl"],
124-
outs = ["test/src/rabbit_ws_test_util.beam"],
123+
srcs = ["test/web_mqtt_command_SUITE.erl"],
124+
outs = ["test/web_mqtt_command_SUITE.beam"],
125125
app_name = "rabbitmq_web_mqtt",
126126
erlc_opts = "//:test_erlc_opts",
127+
deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_mqtt:erlang_app"],
127128
)
128129
erlang_bytecode(
129-
name = "test_src_rfc6455_client_beam",
130+
name = "web_mqtt_config_schema_SUITE_beam_files",
130131
testonly = True,
131-
srcs = ["test/src/rfc6455_client.erl"],
132-
outs = ["test/src/rfc6455_client.beam"],
132+
srcs = ["test/web_mqtt_config_schema_SUITE.erl"],
133+
outs = ["test/web_mqtt_config_schema_SUITE.beam"],
133134
app_name = "rabbitmq_web_mqtt",
134135
erlc_opts = "//:test_erlc_opts",
135136
)
136137
erlang_bytecode(
137-
name = "command_SUITE_beam_files",
138+
name = "web_mqtt_proxy_protocol_SUITE_beam_files",
138139
testonly = True,
139-
srcs = ["test/command_SUITE.erl"],
140-
outs = ["test/command_SUITE.beam"],
140+
srcs = ["test/web_mqtt_proxy_protocol_SUITE.erl"],
141+
outs = ["test/web_mqtt_proxy_protocol_SUITE.beam"],
141142
app_name = "rabbitmq_web_mqtt",
142143
erlc_opts = "//:test_erlc_opts",
143-
deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_mqtt:erlang_app"],
144144
)
145145
erlang_bytecode(
146-
name = "test_rabbit_web_mqtt_test_util_beam",
146+
name = "web_mqtt_shared_SUITE_beam_files",
147147
testonly = True,
148-
srcs = ["test/rabbit_web_mqtt_test_util.erl"],
149-
outs = ["test/rabbit_web_mqtt_test_util.beam"],
148+
srcs = ["test/web_mqtt_shared_SUITE.erl"],
149+
outs = ["test/web_mqtt_shared_SUITE.beam"],
150+
app_name = "rabbitmq_web_mqtt",
151+
erlc_opts = "//:test_erlc_opts",
152+
)
153+
erlang_bytecode(
154+
name = "web_mqtt_system_SUITE_beam_files",
155+
testonly = True,
156+
srcs = ["test/web_mqtt_system_SUITE.erl"],
157+
outs = ["test/web_mqtt_system_SUITE.beam"],
158+
app_name = "rabbitmq_web_mqtt",
159+
erlc_opts = "//:test_erlc_opts",
160+
)
161+
erlang_bytecode(
162+
name = "web_mqtt_v5_SUITE_beam_files",
163+
testonly = True,
164+
srcs = ["test/web_mqtt_v5_SUITE.erl"],
165+
outs = ["test/web_mqtt_v5_SUITE.beam"],
150166
app_name = "rabbitmq_web_mqtt",
151167
erlc_opts = "//:test_erlc_opts",
152168
)

0 commit comments

Comments
 (0)