Invoke assert_suites macro in all deps/*

including those that don't currently have tests, in case tests are
added
This commit is contained in:
Rin Kuryloski 2022-11-24 16:05:05 +01:00
parent a317b30807
commit 5bb60903f8
5 changed files with 45 additions and 0 deletions

View File

@ -3,6 +3,7 @@ load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
load( load(
"//:rabbitmq.bzl", "//:rabbitmq.bzl",
"RABBITMQ_DIALYZER_OPTS", "RABBITMQ_DIALYZER_OPTS",
"assert_suites",
"rabbitmq_app", "rabbitmq_app",
) )
@ -36,3 +37,11 @@ dialyze(
dialyzer_opts = RABBITMQ_DIALYZER_OPTS, dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
plt = ":base_plt", plt = ":base_plt",
) )
alias(
name = "rabbitmq_random_exchange",
actual = ":erlang_app",
visibility = ["//visibility:public"],
)
assert_suites()

View File

@ -4,6 +4,7 @@ load(
"//:rabbitmq.bzl", "//:rabbitmq.bzl",
"BROKER_VERSION_REQUIREMENTS_ANY", "BROKER_VERSION_REQUIREMENTS_ANY",
"RABBITMQ_DIALYZER_OPTS", "RABBITMQ_DIALYZER_OPTS",
"assert_suites",
"rabbitmq_app", "rabbitmq_app",
) )
@ -48,3 +49,11 @@ dialyze(
dialyzer_opts = RABBITMQ_DIALYZER_OPTS, dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
plt = ":base_plt", plt = ":base_plt",
) )
alias(
name = "rabbitmq_top",
actual = ":erlang_app",
visibility = ["//visibility:public"],
)
assert_suites()

View File

@ -3,6 +3,7 @@ load("@rules_erlang//:dialyze.bzl", "dialyze")
load( load(
"//:rabbitmq.bzl", "//:rabbitmq.bzl",
"RABBITMQ_DIALYZER_OPTS", "RABBITMQ_DIALYZER_OPTS",
"assert_suites",
"rabbitmq_app", "rabbitmq_app",
) )
@ -37,3 +38,11 @@ dialyze(
dialyzer_opts = RABBITMQ_DIALYZER_OPTS, dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
plt = "//:base_plt", plt = "//:base_plt",
) )
alias(
name = "rabbitmq_web_mqtt_examples",
actual = ":erlang_app",
visibility = ["//visibility:public"],
)
assert_suites()

View File

@ -3,6 +3,7 @@ load("@rules_erlang//:dialyze.bzl", "dialyze")
load( load(
"//:rabbitmq.bzl", "//:rabbitmq.bzl",
"RABBITMQ_DIALYZER_OPTS", "RABBITMQ_DIALYZER_OPTS",
"assert_suites",
"rabbitmq_app", "rabbitmq_app",
) )
@ -37,3 +38,11 @@ dialyze(
dialyzer_opts = RABBITMQ_DIALYZER_OPTS, dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
plt = "//:base_plt", plt = "//:base_plt",
) )
alias(
name = "rabbitmq_web_stomp_examples",
actual = ":erlang_app",
visibility = ["//visibility:public"],
)
assert_suites()

View File

@ -1,4 +1,5 @@
load("@rules_erlang//:erlang_app.bzl", "erlang_app") load("@rules_erlang//:erlang_app.bzl", "erlang_app")
load("@rules_erlang//:ct.bzl", "assert_suites2")
erlang_app( erlang_app(
app_description = "Trust store HTTP server", app_description = "Trust store HTTP server",
@ -13,3 +14,11 @@ erlang_app(
"@thoas//:erlang_app", "@thoas//:erlang_app",
], ],
) )
alias(
name = "trust_store_http",
actual = ":erlang_app",
visibility = ["//visibility:public"],
)
assert_suites2()