Skip to content

Commit

Permalink
Invoke assert_suites macro in all deps/*
Browse files Browse the repository at this point in the history
including those that don't currently have tests, in case tests are
added
  • Loading branch information
pjk25 committed Jan 18, 2023
1 parent a317b30 commit 5bb6090
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 0 deletions.
9 changes: 9 additions & 0 deletions deps/rabbitmq_random_exchange/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
load(
"//:rabbitmq.bzl",
"RABBITMQ_DIALYZER_OPTS",
"assert_suites",
"rabbitmq_app",
)

Expand Down Expand Up @@ -36,3 +37,11 @@ dialyze(
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
plt = ":base_plt",
)

alias(
name = "rabbitmq_random_exchange",
actual = ":erlang_app",
visibility = ["//visibility:public"],
)

assert_suites()
9 changes: 9 additions & 0 deletions deps/rabbitmq_top/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ load(
"//:rabbitmq.bzl",
"BROKER_VERSION_REQUIREMENTS_ANY",
"RABBITMQ_DIALYZER_OPTS",
"assert_suites",
"rabbitmq_app",
)

Expand Down Expand Up @@ -48,3 +49,11 @@ dialyze(
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
plt = ":base_plt",
)

alias(
name = "rabbitmq_top",
actual = ":erlang_app",
visibility = ["//visibility:public"],
)

assert_suites()
9 changes: 9 additions & 0 deletions deps/rabbitmq_web_mqtt_examples/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ load("@rules_erlang//:dialyze.bzl", "dialyze")
load(
"//:rabbitmq.bzl",
"RABBITMQ_DIALYZER_OPTS",
"assert_suites",
"rabbitmq_app",
)

Expand Down Expand Up @@ -37,3 +38,11 @@ dialyze(
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
plt = "//:base_plt",
)

alias(
name = "rabbitmq_web_mqtt_examples",
actual = ":erlang_app",
visibility = ["//visibility:public"],
)

assert_suites()
9 changes: 9 additions & 0 deletions deps/rabbitmq_web_stomp_examples/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ load("@rules_erlang//:dialyze.bzl", "dialyze")
load(
"//:rabbitmq.bzl",
"RABBITMQ_DIALYZER_OPTS",
"assert_suites",
"rabbitmq_app",
)

Expand Down Expand Up @@ -37,3 +38,11 @@ dialyze(
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
plt = "//:base_plt",
)

alias(
name = "rabbitmq_web_stomp_examples",
actual = ":erlang_app",
visibility = ["//visibility:public"],
)

assert_suites()
9 changes: 9 additions & 0 deletions deps/trust_store_http/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
load("@rules_erlang//:erlang_app.bzl", "erlang_app")
load("@rules_erlang//:ct.bzl", "assert_suites2")

erlang_app(
app_description = "Trust store HTTP server",
Expand All @@ -13,3 +14,11 @@ erlang_app(
"@thoas//:erlang_app",
],
)

alias(
name = "trust_store_http",
actual = ":erlang_app",
visibility = ["//visibility:public"],
)

assert_suites2()

0 comments on commit 5bb6090

Please sign in to comment.