diff options
author | Michael Klishin <michaelklishin@me.com> | 2023-04-20 23:22:50 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 23:22:50 +0400 |
commit | 0d9c4df74228419ff03165328cb582ac6520271e (patch) | |
tree | 7a000c75235dc1a7dae2184acdfd0ff269fc4bc4 | |
parent | 505806c2ca433aed0eb77e69acf3921c9158ffb1 (diff) | |
parent | b8def2403a9dc570d1a2ead624e9c72cc3778b33 (diff) | |
download | rabbitmq-server-git-3.12.0-beta.8.tar.gz |
Merge pull request #7952 from rabbitmq/mergify/bp/v3.12.x/pr-7950v3.12.0-beta.8
47 files changed, 318 insertions, 9 deletions
diff --git a/MODULE.bazel b/MODULE.bazel index 3a845981cf..c0ee1ae9b7 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -31,7 +31,7 @@ bazel_dep( bazel_dep( name = "rules_erlang", - version = "3.9.12", + version = "3.9.13", ) erlang_config = use_extension( @@ -6,7 +6,7 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_r git_repository( name = "rules_erlang", remote = "https://github.com/rabbitmq/rules_erlang.git", - tag = "3.9.12", + tag = "3.9.13", ) load("@rules_erlang//:internal_deps.bzl", "rules_erlang_internal_deps") diff --git a/deps/amqp10_client/app.bzl b/deps/amqp10_client/app.bzl index a3c309d3a1..5e2fd5bafa 100644 --- a/deps/amqp10_client/app.bzl +++ b/deps/amqp10_client/app.bzl @@ -73,6 +73,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/msg_SUITE.erl"], outs = ["test/msg_SUITE.beam"], + app_name = "amqp10_client", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp10_common:erlang_app"], ) @@ -82,6 +83,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/system_SUITE.erl"], outs = ["test/system_SUITE.beam"], hdrs = ["src/amqp10_client.hrl"], + app_name = "amqp10_client", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp10_common:erlang_app"], ) @@ -90,6 +92,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/activemq_ct_helpers.erl"], outs = ["test/activemq_ct_helpers.beam"], + app_name = "amqp10_client", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -98,5 +101,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/mock_server.erl"], outs = ["test/mock_server.beam"], hdrs = ["src/amqp10_client.hrl"], + app_name = "amqp10_client", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/amqp10_common/app.bzl b/deps/amqp10_common/app.bzl index cda6d14e7c..c7e0e0a590 100644 --- a/deps/amqp10_common/app.bzl +++ b/deps/amqp10_common/app.bzl @@ -97,6 +97,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/binary_generator_SUITE.erl"], outs = ["test/binary_generator_SUITE.beam"], + app_name = "amqp10_common", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -104,5 +105,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/binary_parser_SUITE.erl"], outs = ["test/binary_parser_SUITE.beam"], + app_name = "amqp10_common", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/amqp_client/app.bzl b/deps/amqp_client/app.bzl index 6731a8edde..f9fb255c10 100644 --- a/deps/amqp_client/app.bzl +++ b/deps/amqp_client/app.bzl @@ -114,6 +114,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/system_SUITE.erl"], outs = ["test/system_SUITE.beam"], hdrs = ["include/amqp_client.hrl", "include/amqp_client_internal.hrl"], + app_name = "amqp_client", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -123,6 +124,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/unit_SUITE.erl"], outs = ["test/unit_SUITE.beam"], hdrs = ["include/amqp_client.hrl"], + app_name = "amqp_client", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) diff --git a/deps/rabbit/app.bzl b/deps/rabbit/app.bzl index f1e64f1133..14ebac0f86 100644 --- a/deps/rabbit/app.bzl +++ b/deps/rabbit/app.bzl @@ -153,6 +153,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/amqqueue_backward_compatibility_SUITE.erl"], outs = ["test/amqqueue_backward_compatibility_SUITE.beam"], hdrs = ["include/amqqueue.hrl", "include/amqqueue_v2.hrl"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -161,6 +162,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/backing_queue_SUITE.erl"], outs = ["test/backing_queue_SUITE.beam"], hdrs = ["include/amqqueue.hrl", "include/amqqueue_v2.hrl"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -169,6 +171,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/channel_interceptor_SUITE.erl"], outs = ["test/channel_interceptor_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -178,6 +181,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/channel_operation_timeout_SUITE.erl"], outs = ["test/channel_operation_timeout_SUITE.beam"], hdrs = ["include/amqqueue.hrl", "include/amqqueue_v2.hrl"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -186,6 +190,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/classic_queue_prop_SUITE.erl"], outs = ["test/classic_queue_prop_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "@proper//:erlang_app"], ) @@ -195,6 +200,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/cluster_SUITE.erl"], outs = ["test/cluster_SUITE.beam"], hdrs = ["include/amqqueue.hrl", "include/amqqueue_v2.hrl"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -203,6 +209,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/cluster_rename_SUITE.erl"], outs = ["test/cluster_rename_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -211,6 +218,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/clustering_management_SUITE.erl"], outs = ["test/clustering_management_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -219,6 +227,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -226,6 +235,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/confirms_rejects_SUITE.erl"], outs = ["test/confirms_rejects_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -234,6 +244,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/consumer_timeout_SUITE.erl"], outs = ["test/consumer_timeout_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -242,6 +253,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/crashing_queues_SUITE.erl"], outs = ["test/crashing_queues_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -250,6 +262,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/dead_lettering_SUITE.erl"], outs = ["test/dead_lettering_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -258,6 +271,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/definition_import_SUITE.erl"], outs = ["test/definition_import_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -266,6 +280,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/direct_exchange_routing_v2_SUITE.erl"], outs = ["test/direct_exchange_routing_v2_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -274,6 +289,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/disconnect_detected_during_alarm_SUITE.erl"], outs = ["test/disconnect_detected_during_alarm_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -282,6 +298,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/disk_monitor_SUITE.erl"], outs = ["test/disk_monitor_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -289,6 +306,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/dynamic_ha_SUITE.erl"], outs = ["test/dynamic_ha_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app", "@proper//:erlang_app"], ) @@ -297,6 +315,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/dynamic_qq_SUITE.erl"], outs = ["test/dynamic_qq_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -305,6 +324,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/eager_sync_SUITE.erl"], outs = ["test/eager_sync_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -313,6 +333,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/feature_flags_SUITE.erl"], outs = ["test/feature_flags_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -321,6 +342,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/feature_flags_v2_SUITE.erl"], outs = ["test/feature_flags_v2_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -329,6 +351,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/feature_flags_with_unpriveleged_user_SUITE.erl"], outs = ["test/feature_flags_with_unpriveleged_user_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -336,6 +359,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/lazy_queue_SUITE.erl"], outs = ["test/lazy_queue_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -344,6 +368,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/list_consumers_sanity_check_SUITE.erl"], outs = ["test/list_consumers_sanity_check_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -352,6 +377,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/list_queues_online_and_offline_SUITE.erl"], outs = ["test/list_queues_online_and_offline_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -360,6 +386,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/logging_SUITE.erl"], outs = ["test/logging_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbit_common:erlang_app"], ) @@ -368,6 +395,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/lqueue_SUITE.erl"], outs = ["test/lqueue_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["@proper//:erlang_app"], ) @@ -376,6 +404,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/maintenance_mode_SUITE.erl"], outs = ["test/maintenance_mode_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -384,6 +413,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/many_node_ha_SUITE.erl"], outs = ["test/many_node_ha_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -392,6 +422,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/message_size_limit_SUITE.erl"], outs = ["test/message_size_limit_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -400,6 +431,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/metrics_SUITE.erl"], outs = ["test/metrics_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbit_common:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app", "@proper//:erlang_app"], ) @@ -408,6 +440,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/mirrored_supervisor_SUITE.erl"], outs = ["test/mirrored_supervisor_SUITE.beam"], + app_name = "rabbit", beam = ["ebin/mirrored_supervisor.beam"], erlc_opts = "//:test_erlc_opts", ) @@ -416,6 +449,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/msg_store_SUITE.erl"], outs = ["test/msg_store_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -424,6 +458,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/peer_discovery_classic_config_SUITE.erl"], outs = ["test/peer_discovery_classic_config_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -432,6 +467,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/peer_discovery_dns_SUITE.erl"], outs = ["test/peer_discovery_dns_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -440,6 +476,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/per_user_connection_channel_limit_SUITE.erl"], outs = ["test/per_user_connection_channel_limit_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -448,6 +485,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/per_user_connection_channel_limit_partitions_SUITE.erl"], outs = ["test/per_user_connection_channel_limit_partitions_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -456,6 +494,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/per_user_connection_channel_tracking_SUITE.erl"], outs = ["test/per_user_connection_channel_tracking_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -464,6 +503,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/per_user_connection_tracking_SUITE.erl"], outs = ["test/per_user_connection_tracking_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -472,6 +512,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/per_vhost_connection_limit_SUITE.erl"], outs = ["test/per_vhost_connection_limit_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -480,6 +521,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/per_vhost_connection_limit_partitions_SUITE.erl"], outs = ["test/per_vhost_connection_limit_partitions_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -488,6 +530,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/per_vhost_msg_store_SUITE.erl"], outs = ["test/per_vhost_msg_store_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -496,6 +539,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/per_vhost_queue_limit_SUITE.erl"], outs = ["test/per_vhost_queue_limit_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -504,6 +548,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/policy_SUITE.erl"], outs = ["test/policy_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -512,6 +557,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/priority_queue_SUITE.erl"], outs = ["test/priority_queue_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -520,6 +566,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/priority_queue_recovery_SUITE.erl"], outs = ["test/priority_queue_recovery_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -528,6 +575,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/product_info_SUITE.erl"], outs = ["test/product_info_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -535,6 +583,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/proxy_protocol_SUITE.erl"], outs = ["test/proxy_protocol_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -543,6 +592,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/publisher_confirms_parallel_SUITE.erl"], outs = ["test/publisher_confirms_parallel_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -551,6 +601,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/queue_length_limits_SUITE.erl"], outs = ["test/queue_length_limits_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -559,6 +610,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/queue_master_location_SUITE.erl"], outs = ["test/queue_master_location_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -567,6 +619,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/queue_parallel_SUITE.erl"], outs = ["test/queue_parallel_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -575,6 +628,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/queue_type_SUITE.erl"], outs = ["test/queue_type_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -583,6 +637,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/quorum_queue_SUITE.erl"], outs = ["test/quorum_queue_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -591,6 +646,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_confirms_SUITE.erl"], outs = ["test/rabbit_confirms_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -598,6 +654,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_core_metrics_gc_SUITE.erl"], outs = ["test/rabbit_core_metrics_gc_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -606,6 +663,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_direct_reply_to_prop_SUITE.erl"], outs = ["test/rabbit_direct_reply_to_prop_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["@proper//:erlang_app"], ) @@ -615,6 +673,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_fifo_SUITE.erl"], outs = ["test/rabbit_fifo_SUITE.beam"], hdrs = ["src/rabbit_fifo.hrl"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -624,6 +683,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_fifo_dlx_SUITE.erl"], outs = ["test/rabbit_fifo_dlx_SUITE.beam"], hdrs = ["src/rabbit_fifo.hrl", "src/rabbit_fifo_dlx.hrl"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -632,6 +692,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_fifo_dlx_integration_SUITE.erl"], outs = ["test/rabbit_fifo_dlx_integration_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -640,6 +701,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_fifo_int_SUITE.erl"], outs = ["test/rabbit_fifo_int_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -649,6 +711,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_fifo_prop_SUITE.erl"], outs = ["test/rabbit_fifo_prop_SUITE.beam"], hdrs = ["src/rabbit_fifo.hrl", "src/rabbit_fifo_dlx.hrl"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app", "@proper//:erlang_app"], ) @@ -658,6 +721,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_fifo_v0_SUITE.erl"], outs = ["test/rabbit_fifo_v0_SUITE.beam"], hdrs = ["src/rabbit_fifo_v0.hrl"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -666,6 +730,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_msg_record_SUITE.erl"], outs = ["test/rabbit_msg_record_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp10_common:erlang_app", "//deps/rabbit_common:erlang_app"], ) @@ -675,6 +740,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_stream_coordinator_SUITE.erl"], outs = ["test/rabbit_stream_coordinator_SUITE.beam"], hdrs = ["src/rabbit_stream_coordinator.hrl"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -683,6 +749,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_stream_queue_SUITE.erl"], outs = ["test/rabbit_stream_queue_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app", "@proper//:erlang_app"], ) @@ -692,6 +759,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_stream_sac_coordinator_SUITE.erl"], outs = ["test/rabbit_stream_sac_coordinator_SUITE.beam"], hdrs = ["src/rabbit_stream_sac_coordinator.hrl"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit:erlang_app"], ) @@ -700,6 +768,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbitmq_queues_cli_integration_SUITE.erl"], outs = ["test/rabbitmq_queues_cli_integration_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -708,6 +777,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbitmqctl_integration_SUITE.erl"], outs = ["test/rabbitmqctl_integration_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -716,6 +786,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbitmqctl_shutdown_SUITE.erl"], outs = ["test/rabbitmqctl_shutdown_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -724,6 +795,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/signal_handling_SUITE.erl"], outs = ["test/signal_handling_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -731,6 +803,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/simple_ha_SUITE.erl"], outs = ["test/simple_ha_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -739,6 +812,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/single_active_consumer_SUITE.erl"], outs = ["test/single_active_consumer_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -747,6 +821,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/sync_detection_SUITE.erl"], outs = ["test/sync_detection_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -755,6 +830,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/term_to_binary_compat_prop_SUITE.erl"], outs = ["test/term_to_binary_compat_prop_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app", "@proper//:erlang_app"], ) @@ -763,6 +839,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/channel_operation_timeout_test_queue.erl"], outs = ["test/channel_operation_timeout_test_queue.beam"], + app_name = "rabbit", beam = ["ebin/rabbit_backing_queue.beam"], erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], @@ -772,6 +849,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/dummy_event_receiver.erl"], outs = ["test/dummy_event_receiver.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -780,6 +858,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/dummy_interceptor.erl"], outs = ["test/dummy_interceptor.beam"], + app_name = "rabbit", beam = ["ebin/rabbit_channel_interceptor.beam"], erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], @@ -789,6 +868,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/dummy_runtime_parameters.erl"], outs = ["test/dummy_runtime_parameters.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -797,6 +877,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/dummy_supervisor2.erl"], outs = ["test/dummy_supervisor2.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -805,6 +886,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/failing_dummy_interceptor.erl"], outs = ["test/failing_dummy_interceptor.beam"], + app_name = "rabbit", beam = ["ebin/rabbit_channel_interceptor.beam"], erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], @@ -814,6 +896,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/mirrored_supervisor_SUITE_gs.erl"], outs = ["test/mirrored_supervisor_SUITE_gs.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -821,6 +904,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/quorum_queue_utils.erl"], outs = ["test/quorum_queue_utils.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -828,6 +912,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_auth_backend_context_propagation_mock.erl"], outs = ["test/rabbit_auth_backend_context_propagation_mock.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -836,6 +921,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_dummy_protocol_connection_info.erl"], outs = ["test/rabbit_dummy_protocol_connection_info.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -843,6 +929,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_foo_protocol_connection_info.erl"], outs = ["test/rabbit_foo_protocol_connection_info.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -850,6 +937,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_ha_test_consumer.erl"], outs = ["test/rabbit_ha_test_consumer.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -858,6 +946,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_ha_test_producer.erl"], outs = ["test/rabbit_ha_test_producer.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -866,6 +955,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/test_util.erl"], outs = ["test/test_util.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -873,6 +963,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/topic_permission_SUITE.erl"], outs = ["test/topic_permission_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -881,6 +972,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_access_control_SUITE.erl"], outs = ["test/unit_access_control_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -889,6 +981,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_access_control_authn_authz_context_propagation_SUITE.erl"], outs = ["test/unit_access_control_authn_authz_context_propagation_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -897,6 +990,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_access_control_credential_validation_SUITE.erl"], outs = ["test/unit_access_control_credential_validation_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["@proper//:erlang_app"], ) @@ -905,6 +999,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_amqp091_content_framing_SUITE.erl"], outs = ["test/unit_amqp091_content_framing_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -913,6 +1008,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_amqp091_server_properties_SUITE.erl"], outs = ["test/unit_amqp091_server_properties_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -921,6 +1017,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_app_management_SUITE.erl"], outs = ["test/unit_app_management_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -929,6 +1026,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_classic_mirrored_queue_sync_throttling_SUITE.erl"], outs = ["test/unit_classic_mirrored_queue_sync_throttling_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -937,6 +1035,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_classic_mirrored_queue_throughput_SUITE.erl"], outs = ["test/unit_classic_mirrored_queue_throughput_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -944,6 +1043,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_cluster_formation_locking_mocks_SUITE.erl"], outs = ["test/unit_cluster_formation_locking_mocks_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -951,6 +1051,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_collections_SUITE.erl"], outs = ["test/unit_collections_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -958,6 +1059,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_config_value_encryption_SUITE.erl"], outs = ["test/unit_config_value_encryption_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -965,6 +1067,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_connection_tracking_SUITE.erl"], outs = ["test/unit_connection_tracking_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -973,6 +1076,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_credit_flow_SUITE.erl"], outs = ["test/unit_credit_flow_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -980,6 +1084,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_disk_monitor_SUITE.erl"], outs = ["test/unit_disk_monitor_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -987,6 +1092,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_file_handle_cache_SUITE.erl"], outs = ["test/unit_file_handle_cache_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -995,6 +1101,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_gen_server2_SUITE.erl"], outs = ["test/unit_gen_server2_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -1003,6 +1110,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/unit_gm_SUITE.erl"], outs = ["test/unit_gm_SUITE.beam"], hdrs = ["include/gm_specs.hrl"], + app_name = "rabbit", beam = ["ebin/gm.beam"], erlc_opts = "//:test_erlc_opts", ) @@ -1011,6 +1119,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_log_management_SUITE.erl"], outs = ["test/unit_log_management_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -1019,6 +1128,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_operator_policy_SUITE.erl"], outs = ["test/unit_operator_policy_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -1027,6 +1137,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_pg_local_SUITE.erl"], outs = ["test/unit_pg_local_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -1034,6 +1145,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_plugin_directories_SUITE.erl"], outs = ["test/unit_plugin_directories_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -1042,6 +1154,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_plugin_versioning_SUITE.erl"], outs = ["test/unit_plugin_versioning_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -1050,6 +1163,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_policy_validators_SUITE.erl"], outs = ["test/unit_policy_validators_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -1057,6 +1171,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_priority_queue_SUITE.erl"], outs = ["test/unit_priority_queue_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -1064,6 +1179,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_queue_consumers_SUITE.erl"], outs = ["test/unit_queue_consumers_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -1071,6 +1187,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_stats_and_metrics_SUITE.erl"], outs = ["test/unit_stats_and_metrics_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -1079,6 +1196,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_supervisor2_SUITE.erl"], outs = ["test/unit_supervisor2_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -1086,6 +1204,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_vm_memory_monitor_SUITE.erl"], outs = ["test/unit_vm_memory_monitor_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -1093,6 +1212,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/upgrade_preparation_SUITE.erl"], outs = ["test/upgrade_preparation_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -1101,6 +1221,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/vhost_SUITE.erl"], outs = ["test/vhost_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -1109,6 +1230,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_cuttlefish_SUITE.erl"], outs = ["test/rabbit_cuttlefish_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -1116,6 +1238,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unicode_SUITE.erl"], outs = ["test/unicode_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -1124,6 +1247,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/bindings_SUITE.erl"], outs = ["test/bindings_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -1132,6 +1256,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/exchanges_SUITE.erl"], outs = ["test/exchanges_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -1140,6 +1265,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_db_binding_SUITE.erl"], outs = ["test/rabbit_db_binding_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -1148,6 +1274,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_db_exchange_SUITE.erl"], outs = ["test/rabbit_db_exchange_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -1156,6 +1283,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_db_maintenance_SUITE.erl"], outs = ["test/rabbit_db_maintenance_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -1163,6 +1291,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_db_msup_SUITE.erl"], outs = ["test/rabbit_db_msup_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -1171,6 +1300,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_db_policy_SUITE.erl"], outs = ["test/rabbit_db_policy_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -1180,6 +1310,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_db_queue_SUITE.erl"], outs = ["test/rabbit_db_queue_SUITE.beam"], hdrs = ["include/amqqueue.hrl", "include/amqqueue_v2.hrl"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -1188,6 +1319,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_db_topic_exchange_SUITE.erl"], outs = ["test/rabbit_db_topic_exchange_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -1196,6 +1328,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/test_rabbit_event_handler.erl"], outs = ["test/test_rabbit_event_handler.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -1204,6 +1337,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/per_node_limit_SUITE.erl"], outs = ["test/per_node_limit_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -1212,5 +1346,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/runtime_parameters_SUITE.erl"], outs = ["test/runtime_parameters_SUITE.beam"], + app_name = "rabbit", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbit/apps/rabbitmq_prelaunch/app.bzl b/deps/rabbit/apps/rabbitmq_prelaunch/app.bzl index ba79aa173f..fce2050071 100644 --- a/deps/rabbit/apps/rabbitmq_prelaunch/app.bzl +++ b/deps/rabbit/apps/rabbitmq_prelaunch/app.bzl @@ -73,6 +73,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_logger_std_h_SUITE.erl"], outs = ["test/rabbit_logger_std_h_SUITE.beam"], + app_name = "rabbitmq_prelaunch", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -80,5 +81,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_prelaunch_file_SUITE.erl"], outs = ["test/rabbit_prelaunch_file_SUITE.beam"], + app_name = "rabbitmq_prelaunch", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbit/test/rabbit_fifo_SUITE.erl b/deps/rabbit/test/rabbit_fifo_SUITE.erl index 3a3da376e7..12eaa04138 100644 --- a/deps/rabbit/test/rabbit_fifo_SUITE.erl +++ b/deps/rabbit/test/rabbit_fifo_SUITE.erl @@ -13,7 +13,7 @@ -include_lib("eunit/include/eunit.hrl"). -include_lib("rabbit_common/include/rabbit.hrl"). -include_lib("rabbit_common/include/rabbit_framing.hrl"). --include("src/rabbit_fifo.hrl"). +-include_lib("rabbit/src/rabbit_fifo.hrl"). %%%=================================================================== %%% Common Test callbacks diff --git a/deps/rabbit/test/rabbit_fifo_dlx_SUITE.erl b/deps/rabbit/test/rabbit_fifo_dlx_SUITE.erl index b7dda8a2f5..47c84bb45d 100644 --- a/deps/rabbit/test/rabbit_fifo_dlx_SUITE.erl +++ b/deps/rabbit/test/rabbit_fifo_dlx_SUITE.erl @@ -10,8 +10,8 @@ -compile(export_all). -include_lib("eunit/include/eunit.hrl"). --include("src/rabbit_fifo.hrl"). --include("src/rabbit_fifo_dlx.hrl"). +-include_lib("rabbit/src/rabbit_fifo.hrl"). +-include_lib("rabbit/src/rabbit_fifo_dlx.hrl"). -include_lib("rabbit_common/include/rabbit.hrl"). %%%=================================================================== diff --git a/deps/rabbit/test/rabbit_fifo_prop_SUITE.erl b/deps/rabbit/test/rabbit_fifo_prop_SUITE.erl index a58344365a..858ca426fb 100644 --- a/deps/rabbit/test/rabbit_fifo_prop_SUITE.erl +++ b/deps/rabbit/test/rabbit_fifo_prop_SUITE.erl @@ -9,8 +9,8 @@ -include_lib("proper/include/proper.hrl"). -include_lib("common_test/include/ct.hrl"). -include_lib("eunit/include/eunit.hrl"). --include("src/rabbit_fifo.hrl"). --include("src/rabbit_fifo_dlx.hrl"). +-include_lib("rabbit/src/rabbit_fifo.hrl"). +-include_lib("rabbit/src/rabbit_fifo_dlx.hrl"). -include_lib("rabbit_common/include/rabbit.hrl"). -define(record_info(T,R),lists:zip(record_info(fields,T),tl(tuple_to_list(R)))). diff --git a/deps/rabbit/test/rabbit_stream_coordinator_SUITE.erl b/deps/rabbit/test/rabbit_stream_coordinator_SUITE.erl index d14a2afa16..b965ad167b 100644 --- a/deps/rabbit/test/rabbit_stream_coordinator_SUITE.erl +++ b/deps/rabbit/test/rabbit_stream_coordinator_SUITE.erl @@ -8,7 +8,7 @@ -include_lib("eunit/include/eunit.hrl"). -include_lib("rabbit_common/include/rabbit.hrl"). --include("src/rabbit_stream_coordinator.hrl"). +-include_lib("rabbit/src/rabbit_stream_coordinator.hrl"). -define(STATE, rabbit_stream_coordinator). diff --git a/deps/rabbit/test/rabbit_stream_sac_coordinator_SUITE.erl b/deps/rabbit/test/rabbit_stream_sac_coordinator_SUITE.erl index 5f1b3adea7..5dd546b2de 100644 --- a/deps/rabbit/test/rabbit_stream_sac_coordinator_SUITE.erl +++ b/deps/rabbit/test/rabbit_stream_sac_coordinator_SUITE.erl @@ -19,7 +19,7 @@ -compile(export_all). -include_lib("eunit/include/eunit.hrl"). --include("src/rabbit_stream_sac_coordinator.hrl"). +-include_lib("rabbit/src/rabbit_stream_sac_coordinator.hrl"). %%%=================================================================== %%% Common Test callbacks diff --git a/deps/rabbit_common/app.bzl b/deps/rabbit_common/app.bzl index 4450612862..fdcf7ce690 100644 --- a/deps/rabbit_common/app.bzl +++ b/deps/rabbit_common/app.bzl @@ -144,6 +144,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_env_SUITE.erl"], outs = ["test/rabbit_env_SUITE.beam"], + app_name = "rabbit_common", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -152,6 +153,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/supervisor2_SUITE.erl"], outs = ["test/supervisor2_SUITE.beam"], hdrs = ["include/rabbit.hrl", "include/resource.hrl"], + app_name = "rabbit_common", beam = ["ebin/supervisor2.beam"], erlc_opts = "//:test_erlc_opts", ) @@ -160,6 +162,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/gen_server2_test_server.erl"], outs = ["test/gen_server2_test_server.beam"], + app_name = "rabbit_common", beam = ["ebin/gen_server2.beam"], erlc_opts = "//:test_erlc_opts", ) @@ -169,6 +172,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/test_event_handler.erl"], outs = ["test/test_event_handler.beam"], hdrs = ["include/rabbit.hrl", "include/resource.hrl"], + app_name = "rabbit_common", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -177,6 +181,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/unit_SUITE.erl"], outs = ["test/unit_SUITE.beam"], hdrs = ["include/rabbit.hrl", "include/rabbit_memory.hrl", "include/resource.hrl"], + app_name = "rabbit_common", erlc_opts = "//:test_erlc_opts", deps = ["@proper//:erlang_app"], ) @@ -185,6 +190,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_priority_queue_SUITE.erl"], outs = ["test/unit_priority_queue_SUITE.beam"], + app_name = "rabbit_common", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -192,6 +198,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/worker_pool_SUITE.erl"], outs = ["test/worker_pool_SUITE.beam"], + app_name = "rabbit_common", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -199,5 +206,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_password_hashing_SUITE.erl"], outs = ["test/unit_password_hashing_SUITE.beam"], + app_name = "rabbit_common", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_amqp1_0/app.bzl b/deps/rabbitmq_amqp1_0/app.bzl index cb0bcea0e4..fb2f06ab92 100644 --- a/deps/rabbitmq_amqp1_0/app.bzl +++ b/deps/rabbitmq_amqp1_0/app.bzl @@ -83,6 +83,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/amqp10_client_SUITE.erl"], outs = ["test/amqp10_client_SUITE.beam"], + app_name = "rabbitmq_amqp1_0", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -92,6 +93,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/command_SUITE.erl"], outs = ["test/command_SUITE.beam"], hdrs = ["include/rabbit_amqp1_0.hrl"], + app_name = "rabbitmq_amqp1_0", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp10_common:erlang_app", "//deps/amqp_client:erlang_app"], ) @@ -100,6 +102,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_amqp1_0", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -107,6 +110,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/proxy_protocol_SUITE.erl"], outs = ["test/proxy_protocol_SUITE.beam"], + app_name = "rabbitmq_amqp1_0", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -114,6 +118,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/system_SUITE.erl"], outs = ["test/system_SUITE.beam"], + app_name = "rabbitmq_amqp1_0", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -123,6 +128,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/unit_SUITE.erl"], outs = ["test/unit_SUITE.beam"], hdrs = ["include/rabbit_amqp1_0.hrl"], + app_name = "rabbitmq_amqp1_0", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp10_common:erlang_app"], ) diff --git a/deps/rabbitmq_auth_backend_cache/app.bzl b/deps/rabbitmq_auth_backend_cache/app.bzl index b17eaa27db..b8e2d02ebb 100644 --- a/deps/rabbitmq_auth_backend_cache/app.bzl +++ b/deps/rabbitmq_auth_backend_cache/app.bzl @@ -102,6 +102,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_auth_backend_cache", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -109,6 +110,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_auth_backend_cache_SUITE.erl"], outs = ["test/rabbit_auth_backend_cache_SUITE.beam"], + app_name = "rabbitmq_auth_backend_cache", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -117,5 +119,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_auth_cache_SUITE.erl"], outs = ["test/rabbit_auth_cache_SUITE.beam"], + app_name = "rabbitmq_auth_backend_cache", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_auth_backend_http/app.bzl b/deps/rabbitmq_auth_backend_http/app.bzl index 36c5aeec7f..88d2a6dc0c 100644 --- a/deps/rabbitmq_auth_backend_http/app.bzl +++ b/deps/rabbitmq_auth_backend_http/app.bzl @@ -74,6 +74,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/auth_SUITE.erl"], outs = ["test/auth_SUITE.beam"], + app_name = "rabbitmq_auth_backend_http", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -82,6 +83,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_auth_backend_http", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -89,6 +91,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/auth_http_mock.erl"], outs = ["test/auth_http_mock.beam"], + app_name = "rabbitmq_auth_backend_http", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -96,5 +99,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_SUITE.erl"], outs = ["test/unit_SUITE.beam"], + app_name = "rabbitmq_auth_backend_http", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_auth_backend_ldap/app.bzl b/deps/rabbitmq_auth_backend_ldap/app.bzl index b4c3c2af03..22ea20669b 100644 --- a/deps/rabbitmq_auth_backend_ldap/app.bzl +++ b/deps/rabbitmq_auth_backend_ldap/app.bzl @@ -73,6 +73,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_auth_backend_ldap", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -80,6 +81,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/system_SUITE.erl"], outs = ["test/system_SUITE.beam"], + app_name = "rabbitmq_auth_backend_ldap", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -88,6 +90,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_ldap_seed.erl"], outs = ["test/rabbit_ldap_seed.beam"], + app_name = "rabbitmq_auth_backend_ldap", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -95,5 +98,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_SUITE.erl"], outs = ["test/unit_SUITE.beam"], + app_name = "rabbitmq_auth_backend_ldap", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_auth_backend_oauth2/app.bzl b/deps/rabbitmq_auth_backend_oauth2/app.bzl index ba455c5592..dc4836b11b 100644 --- a/deps/rabbitmq_auth_backend_oauth2/app.bzl +++ b/deps/rabbitmq_auth_backend_oauth2/app.bzl @@ -82,6 +82,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/add_uaa_key_command_SUITE.erl"], outs = ["test/add_uaa_key_command_SUITE.beam"], + app_name = "rabbitmq_auth_backend_oauth2", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -90,6 +91,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_auth_backend_oauth2", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -97,6 +99,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/jwks_SUITE.erl"], outs = ["test/jwks_SUITE.beam"], + app_name = "rabbitmq_auth_backend_oauth2", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -105,6 +108,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/scope_SUITE.erl"], outs = ["test/scope_SUITE.beam"], + app_name = "rabbitmq_auth_backend_oauth2", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -113,6 +117,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/system_SUITE.erl"], outs = ["test/system_SUITE.beam"], + app_name = "rabbitmq_auth_backend_oauth2", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -121,6 +126,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/jwks_http_app.erl"], outs = ["test/jwks_http_app.beam"], + app_name = "rabbitmq_auth_backend_oauth2", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -128,6 +134,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/jwks_http_handler.erl"], outs = ["test/jwks_http_handler.beam"], + app_name = "rabbitmq_auth_backend_oauth2", erlc_opts = "//:test_erlc_opts", deps = ["@cowboy//:erlang_app"], ) @@ -136,6 +143,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/jwks_http_sup.erl"], outs = ["test/jwks_http_sup.beam"], + app_name = "rabbitmq_auth_backend_oauth2", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -143,6 +151,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_auth_backend_oauth2_test_util.erl"], outs = ["test/rabbit_auth_backend_oauth2_test_util.beam"], + app_name = "rabbitmq_auth_backend_oauth2", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -150,6 +159,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_SUITE.erl"], outs = ["test/unit_SUITE.beam"], + app_name = "rabbitmq_auth_backend_oauth2", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -158,5 +168,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/wildcard_match_SUITE.erl"], outs = ["test/wildcard_match_SUITE.beam"], + app_name = "rabbitmq_auth_backend_oauth2", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_aws/app.bzl b/deps/rabbitmq_aws/app.bzl index a703c3ab91..b57c81cd74 100644 --- a/deps/rabbitmq_aws/app.bzl +++ b/deps/rabbitmq_aws/app.bzl @@ -71,6 +71,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbitmq_aws_all_tests.erl"], outs = ["test/rabbitmq_aws_all_tests.beam"], + app_name = "rabbitmq_aws", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -78,6 +79,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbitmq_aws_app_tests.erl"], outs = ["test/rabbitmq_aws_app_tests.beam"], + app_name = "rabbitmq_aws", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -86,6 +88,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbitmq_aws_config_tests.erl"], outs = ["test/rabbitmq_aws_config_tests.beam"], hdrs = ["include/rabbitmq_aws.hrl"], + app_name = "rabbitmq_aws", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -94,6 +97,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbitmq_aws_json_tests.erl"], outs = ["test/rabbitmq_aws_json_tests.beam"], hdrs = ["include/rabbitmq_aws.hrl"], + app_name = "rabbitmq_aws", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -102,6 +106,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbitmq_aws_sign_tests.erl"], outs = ["test/rabbitmq_aws_sign_tests.beam"], hdrs = ["include/rabbitmq_aws.hrl"], + app_name = "rabbitmq_aws", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -109,6 +114,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbitmq_aws_sup_tests.erl"], outs = ["test/rabbitmq_aws_sup_tests.beam"], + app_name = "rabbitmq_aws", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -117,6 +123,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbitmq_aws_tests.erl"], outs = ["test/rabbitmq_aws_tests.beam"], hdrs = ["include/rabbitmq_aws.hrl"], + app_name = "rabbitmq_aws", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -125,6 +132,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbitmq_aws_urilib_tests.erl"], outs = ["test/rabbitmq_aws_urilib_tests.beam"], hdrs = ["include/rabbitmq_aws.hrl"], + app_name = "rabbitmq_aws", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -133,5 +141,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbitmq_aws_xml_tests.erl"], outs = ["test/rabbitmq_aws_xml_tests.beam"], hdrs = ["include/rabbitmq_aws.hrl"], + app_name = "rabbitmq_aws", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_consistent_hash_exchange/app.bzl b/deps/rabbitmq_consistent_hash_exchange/app.bzl index 2e3a6b52b4..43e62cfae4 100644 --- a/deps/rabbitmq_consistent_hash_exchange/app.bzl +++ b/deps/rabbitmq_consistent_hash_exchange/app.bzl @@ -83,6 +83,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_exchange_type_consistent_hash_SUITE.erl"], outs = ["test/rabbit_exchange_type_consistent_hash_SUITE.beam"], hdrs = ["include/rabbitmq_consistent_hash_exchange.hrl"], + app_name = "rabbitmq_consistent_hash_exchange", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) diff --git a/deps/rabbitmq_ct_helpers/app.bzl b/deps/rabbitmq_ct_helpers/app.bzl index 21723a1d62..cfb5f2b1b9 100644 --- a/deps/rabbitmq_ct_helpers/app.bzl +++ b/deps/rabbitmq_ct_helpers/app.bzl @@ -93,5 +93,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/terraform_SUITE.erl"], outs = ["test/terraform_SUITE.beam"], + app_name = "rabbitmq_ct_helpers", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_event_exchange/app.bzl b/deps/rabbitmq_event_exchange/app.bzl index 97826a982d..9a10926dfa 100644 --- a/deps/rabbitmq_event_exchange/app.bzl +++ b/deps/rabbitmq_event_exchange/app.bzl @@ -79,6 +79,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_event_exchange", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -86,6 +87,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/system_SUITE.erl"], outs = ["test/system_SUITE.beam"], + app_name = "rabbitmq_event_exchange", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -94,5 +96,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_SUITE.erl"], outs = ["test/unit_SUITE.beam"], + app_name = "rabbitmq_event_exchange", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_federation/app.bzl b/deps/rabbitmq_federation/app.bzl index 661ce88ab3..52a1c0df80 100644 --- a/deps/rabbitmq_federation/app.bzl +++ b/deps/rabbitmq_federation/app.bzl @@ -85,6 +85,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/exchange_SUITE.erl"], outs = ["test/exchange_SUITE.beam"], hdrs = ["include/rabbit_federation.hrl"], + app_name = "rabbitmq_federation", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -93,6 +94,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/federation_status_command_SUITE.erl"], outs = ["test/federation_status_command_SUITE.beam"], + app_name = "rabbitmq_federation", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -101,6 +103,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/queue_SUITE.erl"], outs = ["test/queue_SUITE.beam"], + app_name = "rabbitmq_federation", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -110,6 +113,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_federation_status_SUITE.erl"], outs = ["test/rabbit_federation_status_SUITE.beam"], hdrs = ["include/rabbit_federation.hrl"], + app_name = "rabbitmq_federation", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -118,6 +122,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/restart_federation_link_command_SUITE.erl"], outs = ["test/restart_federation_link_command_SUITE.beam"], + app_name = "rabbitmq_federation", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -127,6 +132,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_federation_test_util.erl"], outs = ["test/rabbit_federation_test_util.beam"], hdrs = ["include/rabbit_federation.hrl"], + app_name = "rabbitmq_federation", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -136,6 +142,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/unit_SUITE.erl"], outs = ["test/unit_SUITE.beam"], hdrs = ["include/rabbit_federation.hrl"], + app_name = "rabbitmq_federation", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -145,6 +152,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/unit_inbroker_SUITE.erl"], outs = ["test/unit_inbroker_SUITE.beam"], hdrs = ["include/rabbit_federation.hrl"], + app_name = "rabbitmq_federation", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) diff --git a/deps/rabbitmq_federation_management/app.bzl b/deps/rabbitmq_federation_management/app.bzl index eb640e6c0c..bf53736da7 100644 --- a/deps/rabbitmq_federation_management/app.bzl +++ b/deps/rabbitmq_federation_management/app.bzl @@ -80,6 +80,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/federation_mgmt_SUITE.erl"], outs = ["test/federation_mgmt_SUITE.beam"], + app_name = "rabbitmq_federation_management", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) diff --git a/deps/rabbitmq_jms_topic_exchange/app.bzl b/deps/rabbitmq_jms_topic_exchange/app.bzl index 87cc507af2..b065412e2b 100644 --- a/deps/rabbitmq_jms_topic_exchange/app.bzl +++ b/deps/rabbitmq_jms_topic_exchange/app.bzl @@ -81,6 +81,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rjms_topic_selector_SUITE.erl"], outs = ["test/rjms_topic_selector_SUITE.beam"], hdrs = ["include/rabbit_jms_topic_exchange.hrl"], + app_name = "rabbitmq_jms_topic_exchange", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -90,6 +91,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rjms_topic_selector_unit_SUITE.erl"], outs = ["test/rjms_topic_selector_unit_SUITE.beam"], hdrs = ["include/rabbit_jms_topic_exchange.hrl"], + app_name = "rabbitmq_jms_topic_exchange", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -98,5 +100,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/sjx_evaluation_SUITE.erl"], outs = ["test/sjx_evaluation_SUITE.beam"], + app_name = "rabbitmq_jms_topic_exchange", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_management/app.bzl b/deps/rabbitmq_management/app.bzl index 95fc8c6cbc..50da1d1480 100644 --- a/deps/rabbitmq_management/app.bzl +++ b/deps/rabbitmq_management/app.bzl @@ -114,6 +114,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/cache_SUITE.erl"], outs = ["test/cache_SUITE.beam"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", deps = ["@proper//:erlang_app"], ) @@ -122,6 +123,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/clustering_SUITE.erl"], outs = ["test/clustering_SUITE.beam"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbit_common:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app", "//deps/rabbitmq_management_agent:erlang_app"], ) @@ -130,6 +132,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/clustering_prop_SUITE.erl"], outs = ["test/clustering_prop_SUITE.beam"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbit_common:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app", "//deps/rabbitmq_management_agent:erlang_app", "@proper//:erlang_app"], ) @@ -138,6 +141,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -145,6 +149,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/listener_config_SUITE.erl"], outs = ["test/listener_config_SUITE.beam"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -152,6 +157,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_mgmt_http_SUITE.erl"], outs = ["test/rabbit_mgmt_http_SUITE.beam"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -161,6 +167,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_mgmt_http_health_checks_SUITE.erl"], outs = ["test/rabbit_mgmt_http_health_checks_SUITE.beam"], hdrs = ["include/rabbit_mgmt.hrl"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -169,6 +176,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_mgmt_only_http_SUITE.erl"], outs = ["test/rabbit_mgmt_only_http_SUITE.beam"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -177,6 +185,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_mgmt_rabbitmqadmin_SUITE.erl"], outs = ["test/rabbit_mgmt_rabbitmqadmin_SUITE.beam"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -184,6 +193,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_mgmt_stats_SUITE.erl"], outs = ["test/rabbit_mgmt_stats_SUITE.beam"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbitmq_management_agent:erlang_app", "@proper//:erlang_app"], ) @@ -193,6 +203,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_mgmt_test_db_SUITE.erl"], outs = ["test/rabbit_mgmt_test_db_SUITE.beam"], hdrs = ["include/rabbit_mgmt.hrl"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app", "//deps/rabbitmq_management_agent:erlang_app"], ) @@ -201,6 +212,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_mgmt_test_unit_SUITE.erl"], outs = ["test/rabbit_mgmt_test_unit_SUITE.beam"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -208,6 +220,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/stats_SUITE.erl"], outs = ["test/stats_SUITE.beam"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbitmq_management_agent:erlang_app", "@proper//:erlang_app"], ) @@ -216,6 +229,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_mgmt_runtime_parameters_util.erl"], outs = ["test/rabbit_mgmt_runtime_parameters_util.beam"], + app_name = "rabbitmq_management", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) diff --git a/deps/rabbitmq_management_agent/app.bzl b/deps/rabbitmq_management_agent/app.bzl index aa1994e596..78b9badf12 100644 --- a/deps/rabbitmq_management_agent/app.bzl +++ b/deps/rabbitmq_management_agent/app.bzl @@ -81,6 +81,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/exometer_slide_SUITE.erl"], outs = ["test/exometer_slide_SUITE.beam"], + app_name = "rabbitmq_management_agent", erlc_opts = "//:test_erlc_opts", deps = ["@proper//:erlang_app"], ) @@ -89,6 +90,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/metrics_SUITE.erl"], outs = ["test/metrics_SUITE.beam"], + app_name = "rabbitmq_management_agent", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -98,6 +100,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_mgmt_gc_SUITE.erl"], outs = ["test/rabbit_mgmt_gc_SUITE.beam"], hdrs = ["include/rabbit_mgmt_metrics.hrl"], + app_name = "rabbitmq_management_agent", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -106,6 +109,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_mgmt_slide_SUITE.erl"], outs = ["test/rabbit_mgmt_slide_SUITE.beam"], + app_name = "rabbitmq_management_agent", erlc_opts = "//:test_erlc_opts", deps = ["@proper//:erlang_app"], ) diff --git a/deps/rabbitmq_mqtt/app.bzl b/deps/rabbitmq_mqtt/app.bzl index 65a02f8f0a..deaadfe887 100644 --- a/deps/rabbitmq_mqtt/app.bzl +++ b/deps/rabbitmq_mqtt/app.bzl @@ -108,6 +108,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/auth_SUITE.erl"], outs = ["test/auth_SUITE.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -115,6 +116,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/cluster_SUITE.erl"], outs = ["test/cluster_SUITE.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -123,6 +125,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/command_SUITE.erl"], outs = ["test/command_SUITE.beam"], hdrs = ["include/rabbit_mqtt.hrl"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -131,6 +134,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -138,6 +142,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/java_SUITE.erl"], outs = ["test/java_SUITE.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -146,6 +151,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/mqtt_machine_SUITE.erl"], outs = ["test/mqtt_machine_SUITE.beam"], hdrs = ["include/mqtt_machine.hrl"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -153,6 +159,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/processor_SUITE.erl"], outs = ["test/processor_SUITE.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -161,6 +168,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/proxy_protocol_SUITE.erl"], outs = ["test/proxy_protocol_SUITE.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -168,6 +176,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/reader_SUITE.erl"], outs = ["test/reader_SUITE.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -175,6 +184,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/retainer_SUITE.erl"], outs = ["test/retainer_SUITE.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -182,6 +192,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_auth_backend_mqtt_mock.erl"], outs = ["test/rabbit_auth_backend_mqtt_mock.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -190,6 +201,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/util_SUITE.erl"], outs = ["test/util_SUITE.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -197,6 +209,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_SUITE.erl"], outs = ["test/config_SUITE.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -204,6 +217,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/ff_SUITE.erl"], outs = ["test/ff_SUITE.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -211,6 +225,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/shared_SUITE.erl"], outs = ["test/shared_SUITE.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -219,6 +234,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/event_recorder.erl"], outs = ["test/event_recorder.beam"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -228,6 +244,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/util.erl"], outs = ["test/util.beam"], hdrs = ["include/rabbit_mqtt.hrl"], + app_name = "rabbitmq_mqtt", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) diff --git a/deps/rabbitmq_peer_discovery_aws/app.bzl b/deps/rabbitmq_peer_discovery_aws/app.bzl index 782459aad0..7e458ac50c 100644 --- a/deps/rabbitmq_peer_discovery_aws/app.bzl +++ b/deps/rabbitmq_peer_discovery_aws/app.bzl @@ -74,6 +74,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_peer_discovery_aws", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -81,6 +82,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/integration_SUITE.erl"], outs = ["test/integration_SUITE.beam"], + app_name = "rabbitmq_peer_discovery_aws", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -89,6 +91,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/aws_ecs_util.erl"], outs = ["test/aws_ecs_util.beam"], + app_name = "rabbitmq_peer_discovery_aws", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -97,5 +100,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_SUITE.erl"], outs = ["test/unit_SUITE.beam"], + app_name = "rabbitmq_peer_discovery_aws", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_peer_discovery_common/app.bzl b/deps/rabbitmq_peer_discovery_common/app.bzl index 1b2fa726ca..8ea2f13247 100644 --- a/deps/rabbitmq_peer_discovery_common/app.bzl +++ b/deps/rabbitmq_peer_discovery_common/app.bzl @@ -73,5 +73,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_peer_discovery_common", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_peer_discovery_consul/app.bzl b/deps/rabbitmq_peer_discovery_consul/app.bzl index 5646dcce82..4906bbea31 100644 --- a/deps/rabbitmq_peer_discovery_consul/app.bzl +++ b/deps/rabbitmq_peer_discovery_consul/app.bzl @@ -79,6 +79,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_peer_discovery_consul", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -86,5 +87,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbitmq_peer_discovery_consul_SUITE.erl"], outs = ["test/rabbitmq_peer_discovery_consul_SUITE.beam"], + app_name = "rabbitmq_peer_discovery_consul", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_peer_discovery_etcd/app.bzl b/deps/rabbitmq_peer_discovery_etcd/app.bzl index 6d8acc9607..d492e0ca10 100644 --- a/deps/rabbitmq_peer_discovery_etcd/app.bzl +++ b/deps/rabbitmq_peer_discovery_etcd/app.bzl @@ -79,6 +79,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_peer_discovery_etcd", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -87,6 +88,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/system_SUITE.erl"], outs = ["test/system_SUITE.beam"], hdrs = ["include/rabbit_peer_discovery_etcd.hrl"], + app_name = "rabbitmq_peer_discovery_etcd", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -95,5 +97,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/unit_SUITE.erl"], outs = ["test/unit_SUITE.beam"], hdrs = ["include/rabbit_peer_discovery_etcd.hrl"], + app_name = "rabbitmq_peer_discovery_etcd", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_peer_discovery_k8s/app.bzl b/deps/rabbitmq_peer_discovery_k8s/app.bzl index 8d223a0749..1436fee595 100644 --- a/deps/rabbitmq_peer_discovery_k8s/app.bzl +++ b/deps/rabbitmq_peer_discovery_k8s/app.bzl @@ -79,6 +79,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_peer_discovery_k8s", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -86,5 +87,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbitmq_peer_discovery_k8s_SUITE.erl"], outs = ["test/rabbitmq_peer_discovery_k8s_SUITE.beam"], + app_name = "rabbitmq_peer_discovery_k8s", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_prometheus/app.bzl b/deps/rabbitmq_prometheus/app.bzl index 06d2eddd1e..a25f63b758 100644 --- a/deps/rabbitmq_prometheus/app.bzl +++ b/deps/rabbitmq_prometheus/app.bzl @@ -82,6 +82,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_prometheus", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -89,6 +90,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_prometheus_http_SUITE.erl"], outs = ["test/rabbit_prometheus_http_SUITE.beam"], + app_name = "rabbitmq_prometheus", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) diff --git a/deps/rabbitmq_recent_history_exchange/app.bzl b/deps/rabbitmq_recent_history_exchange/app.bzl index bdef8c1058..59db168b9a 100644 --- a/deps/rabbitmq_recent_history_exchange/app.bzl +++ b/deps/rabbitmq_recent_history_exchange/app.bzl @@ -81,6 +81,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/system_SUITE.erl"], outs = ["test/system_SUITE.beam"], hdrs = ["include/rabbit_recent_history.hrl"], + app_name = "rabbitmq_recent_history_exchange", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) diff --git a/deps/rabbitmq_sharding/app.bzl b/deps/rabbitmq_sharding/app.bzl index 2a2e04b615..eb12611210 100644 --- a/deps/rabbitmq_sharding/app.bzl +++ b/deps/rabbitmq_sharding/app.bzl @@ -80,6 +80,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_hash_exchange_SUITE.erl"], outs = ["test/rabbit_hash_exchange_SUITE.beam"], + app_name = "rabbitmq_sharding", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -88,6 +89,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_sharding_SUITE.erl"], outs = ["test/rabbit_sharding_SUITE.beam"], + app_name = "rabbitmq_sharding", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbit:erlang_app"], ) diff --git a/deps/rabbitmq_shovel/app.bzl b/deps/rabbitmq_shovel/app.bzl index 8b5a6c2fe7..67990fbb8c 100644 --- a/deps/rabbitmq_shovel/app.bzl +++ b/deps/rabbitmq_shovel/app.bzl @@ -113,6 +113,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/amqp10_SUITE.erl"], outs = ["test/amqp10_SUITE.beam"], + app_name = "rabbitmq_shovel", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -121,6 +122,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/amqp10_dynamic_SUITE.erl"], outs = ["test/amqp10_dynamic_SUITE.beam"], + app_name = "rabbitmq_shovel", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -129,6 +131,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/amqp10_shovel_SUITE.erl"], outs = ["test/amqp10_shovel_SUITE.beam"], + app_name = "rabbitmq_shovel", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp10_common:erlang_app"], ) @@ -137,6 +140,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_SUITE.erl"], outs = ["test/config_SUITE.beam"], + app_name = "rabbitmq_shovel", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -144,6 +148,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/configuration_SUITE.erl"], outs = ["test/configuration_SUITE.beam"], + app_name = "rabbitmq_shovel", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -152,6 +157,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/delete_shovel_command_SUITE.erl"], outs = ["test/delete_shovel_command_SUITE.beam"], + app_name = "rabbitmq_shovel", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -160,6 +166,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/dynamic_SUITE.erl"], outs = ["test/dynamic_SUITE.beam"], + app_name = "rabbitmq_shovel", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -168,6 +175,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/parameters_SUITE.erl"], outs = ["test/parameters_SUITE.beam"], + app_name = "rabbitmq_shovel", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) @@ -176,6 +184,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/shovel_status_command_SUITE.erl"], outs = ["test/shovel_status_command_SUITE.beam"], + app_name = "rabbitmq_shovel", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -184,5 +193,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/shovel_test_utils.erl"], outs = ["test/shovel_test_utils.beam"], + app_name = "rabbitmq_shovel", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_shovel_management/app.bzl b/deps/rabbitmq_shovel_management/app.bzl index 75a30ec259..a9ac9f7577 100644 --- a/deps/rabbitmq_shovel_management/app.bzl +++ b/deps/rabbitmq_shovel_management/app.bzl @@ -81,6 +81,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/http_SUITE.erl"], outs = ["test/http_SUITE.beam"], + app_name = "rabbitmq_shovel_management", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) @@ -89,6 +90,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_shovel_mgmt_SUITE.erl"], outs = ["test/rabbit_shovel_mgmt_SUITE.beam"], + app_name = "rabbitmq_shovel_management", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app", "//deps/rabbitmq_management_agent:erlang_app"], ) @@ -97,5 +99,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_shovel_mgmt_util_SUITE.erl"], outs = ["test/rabbit_shovel_mgmt_util_SUITE.beam"], + app_name = "rabbitmq_shovel_management", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_stomp/app.bzl b/deps/rabbitmq_stomp/app.bzl index 7d209a647a..3b97c50c75 100644 --- a/deps/rabbitmq_stomp/app.bzl +++ b/deps/rabbitmq_stomp/app.bzl @@ -84,6 +84,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/command_SUITE.erl"], outs = ["test/command_SUITE.beam"], hdrs = ["include/rabbit_stomp.hrl"], + app_name = "rabbitmq_stomp", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -92,6 +93,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_stomp", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -100,6 +102,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/connections_SUITE.erl"], outs = ["test/connections_SUITE.beam"], hdrs = ["include/rabbit_stomp_frame.hrl"], + app_name = "rabbitmq_stomp", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -109,6 +112,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/frame_SUITE.erl"], outs = ["test/frame_SUITE.beam"], hdrs = ["include/rabbit_stomp_frame.hrl", "include/rabbit_stomp_headers.hrl"], + app_name = "rabbitmq_stomp", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -117,6 +121,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/proxy_protocol_SUITE.erl"], outs = ["test/proxy_protocol_SUITE.beam"], + app_name = "rabbitmq_stomp", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -124,6 +129,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/python_SUITE.erl"], outs = ["test/python_SUITE.beam"], + app_name = "rabbitmq_stomp", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -132,6 +138,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/system_SUITE.erl"], outs = ["test/system_SUITE.beam"], hdrs = ["include/rabbit_stomp.hrl", "include/rabbit_stomp_frame.hrl", "include/rabbit_stomp_headers.hrl"], + app_name = "rabbitmq_stomp", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -141,6 +148,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/src/rabbit_stomp_client.erl"], outs = ["test/src/rabbit_stomp_client.beam"], hdrs = ["include/rabbit_stomp_frame.hrl"], + app_name = "rabbitmq_stomp", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -149,6 +157,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/src/rabbit_stomp_publish_test.erl"], outs = ["test/src/rabbit_stomp_publish_test.beam"], hdrs = ["include/rabbit_stomp_frame.hrl"], + app_name = "rabbitmq_stomp", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -157,6 +166,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/topic_SUITE.erl"], outs = ["test/topic_SUITE.beam"], hdrs = ["include/rabbit_stomp.hrl", "include/rabbit_stomp_frame.hrl", "include/rabbit_stomp_headers.hrl"], + app_name = "rabbitmq_stomp", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -166,6 +176,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/util_SUITE.erl"], outs = ["test/util_SUITE.beam"], hdrs = ["include/rabbit_stomp_frame.hrl"], + app_name = "rabbitmq_stomp", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) diff --git a/deps/rabbitmq_stream/app.bzl b/deps/rabbitmq_stream/app.bzl index 2b37c0d1ab..2140e82d36 100644 --- a/deps/rabbitmq_stream/app.bzl +++ b/deps/rabbitmq_stream/app.bzl @@ -85,6 +85,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/commands_SUITE.erl"], outs = ["test/commands_SUITE.beam"], + app_name = "rabbitmq_stream", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app", "//deps/rabbitmq_stream_common:erlang_app"], ) @@ -93,6 +94,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_stream", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -101,6 +103,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_stream_SUITE.erl"], outs = ["test/rabbit_stream_SUITE.beam"], hdrs = ["include/rabbit_stream_metrics.hrl"], + app_name = "rabbitmq_stream", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit:erlang_app", "//deps/rabbit_common:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app", "//deps/rabbitmq_stream_common:erlang_app"], ) @@ -109,6 +112,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_stream_manager_SUITE.erl"], outs = ["test/rabbit_stream_manager_SUITE.beam"], + app_name = "rabbitmq_stream", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -117,6 +121,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_stream_utils_SUITE.erl"], outs = ["test/rabbit_stream_utils_SUITE.beam"], + app_name = "rabbitmq_stream", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) diff --git a/deps/rabbitmq_stream_common/app.bzl b/deps/rabbitmq_stream_common/app.bzl index 0ff7b74f03..68fa4fac5e 100644 --- a/deps/rabbitmq_stream_common/app.bzl +++ b/deps/rabbitmq_stream_common/app.bzl @@ -73,5 +73,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): srcs = ["test/rabbit_stream_core_SUITE.erl"], outs = ["test/rabbit_stream_core_SUITE.beam"], hdrs = ["include/rabbit_stream.hrl"], + app_name = "rabbitmq_stream_common", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_stream_management/app.bzl b/deps/rabbitmq_stream_management/app.bzl index e249312e04..7fd1a092d3 100644 --- a/deps/rabbitmq_stream_management/app.bzl +++ b/deps/rabbitmq_stream_management/app.bzl @@ -86,6 +86,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/http_SUITE.erl"], outs = ["test/http_SUITE.beam"], + app_name = "rabbitmq_stream_management", erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) diff --git a/deps/rabbitmq_tracing/app.bzl b/deps/rabbitmq_tracing/app.bzl index 89d6872573..d88ea358da 100644 --- a/deps/rabbitmq_tracing/app.bzl +++ b/deps/rabbitmq_tracing/app.bzl @@ -84,6 +84,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_tracing_SUITE.erl"], outs = ["test/rabbit_tracing_SUITE.beam"], + app_name = "rabbitmq_tracing", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], ) diff --git a/deps/rabbitmq_trust_store/app.bzl b/deps/rabbitmq_trust_store/app.bzl index 5dc58a4739..16ba898cb1 100644 --- a/deps/rabbitmq_trust_store/app.bzl +++ b/deps/rabbitmq_trust_store/app.bzl @@ -103,6 +103,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_trust_store", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -110,6 +111,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/system_SUITE.erl"], outs = ["test/system_SUITE.beam"], + app_name = "rabbitmq_trust_store", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) diff --git a/deps/rabbitmq_web_dispatch/app.bzl b/deps/rabbitmq_web_dispatch/app.bzl index e1cfb5b7b9..e8712abeb3 100644 --- a/deps/rabbitmq_web_dispatch/app.bzl +++ b/deps/rabbitmq_web_dispatch/app.bzl @@ -73,6 +73,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_web_dispatch_SUITE.erl"], outs = ["test/rabbit_web_dispatch_SUITE.beam"], + app_name = "rabbitmq_web_dispatch", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -80,5 +81,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/rabbit_web_dispatch_unit_SUITE.erl"], outs = ["test/rabbit_web_dispatch_unit_SUITE.beam"], + app_name = "rabbitmq_web_dispatch", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_web_mqtt/app.bzl b/deps/rabbitmq_web_mqtt/app.bzl index 3372fab10b..74ca044f00 100644 --- a/deps/rabbitmq_web_mqtt/app.bzl +++ b/deps/rabbitmq_web_mqtt/app.bzl @@ -82,6 +82,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_web_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -89,6 +90,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/proxy_protocol_SUITE.erl"], outs = ["test/proxy_protocol_SUITE.beam"], + app_name = "rabbitmq_web_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -96,6 +98,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/system_SUITE.erl"], outs = ["test/system_SUITE.beam"], + app_name = "rabbitmq_web_mqtt", erlc_opts = "//:test_erlc_opts", ) @@ -104,6 +107,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/src/rabbit_ws_test_util.erl"], outs = ["test/src/rabbit_ws_test_util.beam"], + app_name = "rabbitmq_web_mqtt", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -111,5 +115,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/src/rfc6455_client.erl"], outs = ["test/src/rfc6455_client.beam"], + app_name = "rabbitmq_web_mqtt", erlc_opts = "//:test_erlc_opts", ) diff --git a/deps/rabbitmq_web_stomp/app.bzl b/deps/rabbitmq_web_stomp/app.bzl index dacf54d543..28a7ef6444 100644 --- a/deps/rabbitmq_web_stomp/app.bzl +++ b/deps/rabbitmq_web_stomp/app.bzl @@ -86,6 +86,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/amqp_stomp_SUITE.erl"], outs = ["test/amqp_stomp_SUITE.beam"], + app_name = "rabbitmq_web_stomp", erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) @@ -94,6 +95,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/config_schema_SUITE.erl"], outs = ["test/config_schema_SUITE.beam"], + app_name = "rabbitmq_web_stomp", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -101,6 +103,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/cowboy_websocket_SUITE.erl"], outs = ["test/cowboy_websocket_SUITE.beam"], + app_name = "rabbitmq_web_stomp", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -108,6 +111,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/proxy_protocol_SUITE.erl"], outs = ["test/proxy_protocol_SUITE.beam"], + app_name = "rabbitmq_web_stomp", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -115,6 +119,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/raw_websocket_SUITE.erl"], outs = ["test/raw_websocket_SUITE.beam"], + app_name = "rabbitmq_web_stomp", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -122,6 +127,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/src/rabbit_ws_test_util.erl"], outs = ["test/src/rabbit_ws_test_util.beam"], + app_name = "rabbitmq_web_stomp", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -129,6 +135,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/src/rfc6455_client.erl"], outs = ["test/src/rfc6455_client.beam"], + app_name = "rabbitmq_web_stomp", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -136,6 +143,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/src/stomp.erl"], outs = ["test/src/stomp.beam"], + app_name = "rabbitmq_web_stomp", erlc_opts = "//:test_erlc_opts", ) erlang_bytecode( @@ -143,5 +151,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"): testonly = True, srcs = ["test/unit_SUITE.erl"], outs = ["test/unit_SUITE.beam"], + app_name = "rabbitmq_web_stomp", erlc_opts = "//:test_erlc_opts", ) |