Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions deps/rabbit/test/amqp_system_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -98,19 +98,19 @@ build_dotnet_test_project(Config) ->
rabbit_ct_helpers:set_config(
Config, {dotnet_test_project_dir, TestProjectDir});
_ ->
{skip, "Failed to fetch .NET Core test project dependencies"}
ct:fail({"'dotnet restore' failed", Ret})
end.

build_maven_test_project(Config) ->
TestProjectDir = filename:join([?config(data_dir, Config), "java-tests"]),
Ret = rabbit_ct_helpers:exec([TestProjectDir ++ "/mvnw", "test-compile"],
[{cd, TestProjectDir}]),
[{cd, TestProjectDir}]),
case Ret of
{ok, _} ->
rabbit_ct_helpers:set_config(Config,
{maven_test_project_dir, TestProjectDir});
{maven_test_project_dir, TestProjectDir});
_ ->
{skip, "Failed to build Maven test project"}
ct:fail({"'mvnw test-compile' failed", Ret})
end.

%% -------------------------------------------------------------------
Expand Down
Loading