host-bmc: refine remote terminus functionality
This commit introduces support for migrating remote terminus-related
functionalities into the host-bmc directory, a move aimed at optimizing
remote terminus operations for future endeavors. By consolidating these
functionalities, tracking and implementing future enhancements become
more streamlined and manageable.
Change-Id: I52b6ced7acacb004b6055ae710193a959d986659
Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
diff --git a/host-bmc/test/meson.build b/host-bmc/test/meson.build
index 30f6624..66d75b7 100644
--- a/host-bmc/test/meson.build
+++ b/host-bmc/test/meson.build
@@ -5,6 +5,7 @@
test_sources = [
'../../common/utils.cpp',
'../custom_dbus.cpp',
+ '../utils.cpp'
]
tests = [
diff --git a/host-bmc/test/utils_test.cpp b/host-bmc/test/utils_test.cpp
index ab64aa1..701f4cb 100644
--- a/host-bmc/test/utils_test.cpp
+++ b/host-bmc/test/utils_test.cpp
@@ -1,4 +1,4 @@
-#include "common/utils.hpp"
+#include "../utils.hpp"
#include <libpldm/pdr.h>
@@ -80,7 +80,8 @@
l5b}};
ObjectPathMaps objPathMap;
- updateEntityAssociation(entityAssociations, tree, objPathMap);
+ pldm::hostbmc::utils::updateEntityAssociation(entityAssociations, tree,
+ objPathMap);
EXPECT_EQ(objPathMap.size(), retObjectMaps.size());