Add missing dependencies
There are multiple places where the dependencies are
explicitly missing & its working as of today because
of the way the code was organised.
The intent behind this commit is add the missing dependencies
explicitly. This commit fixes :
1. common tests depends on header files in common folder, but
it is not added as a dependency, fixing this by adding libpldmutils
as the dependency.
2. fw-update tests depends on header files in common folder as well,
but it is not added as a dependency , fixing this by adding libpldmutils
as the dependency.
3. requester test code includes header files in the pldmd folder, but
that is not added as a dependency as well, fixing this by adding
include_directories and making it a dependency.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I102ea5096dd9edfc876fd60df7628fc061e085f2
diff --git a/requester/test/meson.build b/requester/test/meson.build
index 74caa3e..c5c0168 100644
--- a/requester/test/meson.build
+++ b/requester/test/meson.build
@@ -1,7 +1,9 @@
+requester_inc = include_directories('../../')
test_src = declare_dependency(
sources: [
'../../pldmd/dbus_impl_requester.cpp',
- '../../pldmd/instance_id.cpp'])
+ '../../pldmd/instance_id.cpp'],
+ include_directories:requester_inc)
tests = [
'handler_test',