Skip to content

Commit

Permalink
Refs #22427: Fix tests compilation
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <[email protected]>
  • Loading branch information
Mario-DL committed Dec 9, 2024
1 parent a940b0a commit 6204daf
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, 0u);
}

/**
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 6204daf

Please sign in to comment.