Skip to content

Commit 16ac1fd

Browse files
authored
bazel run gazelle
1 parent a3dc7c9 commit 16ac1fd

File tree

1 file changed

+39
-23
lines changed

1 file changed

+39
-23
lines changed

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)