diff options
author | Rin Kuryloski <kuryloskip@vmware.com> | 2023-04-20 12:36:08 +0200 |
---|---|---|
committer | Rin Kuryloski <kuryloskip@vmware.com> | 2023-04-20 12:40:45 +0200 |
commit | 854d01d9a54b225681e2280b5efdcd12287e6fd3 (patch) | |
tree | 914aa32a3ab5f47578a7b70dc4d5dfb58069b89d /deps/rabbit | |
parent | c05b7a4dc5a47a3d3539512f571b06d3b35ad515 (diff) | |
download | rabbitmq-server-git-854d01d9a54b225681e2280b5efdcd12287e6fd3.tar.gz |
Restore the original -include_lib statements from before #6466
since this broke erlang_ls
requires rules_erlang 3.9.13
Diffstat (limited to 'deps/rabbit')
-rw-r--r-- | deps/rabbit/app.bzl | 135 | ||||
-rw-r--r-- | deps/rabbit/apps/rabbitmq_prelaunch/app.bzl | 2 | ||||
-rw-r--r-- | deps/rabbit/test/rabbit_fifo_SUITE.erl | 2 | ||||
-rw-r--r-- | deps/rabbit/test/rabbit_fifo_dlx_SUITE.erl | 4 | ||||
-rw-r--r-- | deps/rabbit/test/rabbit_fifo_prop_SUITE.erl | 4 | ||||
-rw-r--r-- | deps/rabbit/test/rabbit_stream_coordinator_SUITE.erl | 2 | ||||
-rw-r--r-- | deps/rabbit/test/rabbit_stream_sac_coordinator_SUITE.erl | 2 |
7 files changed, 144 insertions, 7 deletions
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 |