load("@prelude//utils:source_listing.bzl", "source_listing")
oncall("build_infra")
source_listing()
erlang_application(
name = "test_cli_lib",
srcs = glob(["src/*.erl"]),
applications = ["//erlang/common_test/test_binary:test_binary"],
erl_opts = [
"+debug_info",
"+warnings_as_errors",
],
resources = [],
visibility = ["PUBLIC"],
)
erlang_tests(
contacts = ["whatsapp_testing_infra"],
labels = ["e2e"],
suites = ["test/test_cli_e2e_SUITE.erl"],
deps = [
"stdlib",
":test_cli_e2e_SUITE_fixtures",
":test_cli_lib",
],
)
erlang_application(
name = "test_cli_e2e_SUITE_fixtures",
srcs = glob(["test/test_cli_e2e_SUITE_data/*.erl"]),
applications = [],
labels = ["test_application"],
)