Skip to content

Commit

Permalink
Refs #22427: Fix tests compilation in all platforms
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
  • Loading branch information
Mario-DL committed Dec 10, 2024
1 parent fd08231 commit 521ea8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/blackbox/common/DDSBlackboxTestsDSAutoMode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ void set_ros_discovery_server_auto_env()
void stop_background_servers()
{
// Stop server(s)
std::system("fastdds discovery stop all");
int res = std::system("fastdds discovery stop all");
ASSERT_EQ(res, 0);
}

/**
Expand Down
1 change: 1 addition & 0 deletions test/system/tools/fds/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ set(CLI_MANAGER_TESTS_EXEC CliDiscoveryManagerTests)
set(CLI_MANAGER_TESTS_SOURCE
CliDiscoveryManagerTests.cpp
${PROJECT_SOURCE_DIR}/src/cpp/rtps/attributes/ServerAttributes.cpp
${PROJECT_SOURCE_DIR}/src/cpp/utils/SystemInfo.cpp
${PROJECT_SOURCE_DIR}/tools/fds/CliDiscoveryManager.cpp
)

Expand Down

0 comments on commit 521ea8e

Please sign in to comment.