Add host_error_monitor.cpp to the unit test build
Some functions are only available in host_error_monitor.cpp, so it needs
to be included in unit test builds.
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Change-Id: Ib1e2b698fde3e3639e739a3ff3964eaba40338eb
diff --git a/tests/meson.build b/tests/meson.build
index 545c988..2cadb5c 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -29,6 +29,8 @@
executable(
unit_test,
unit_test + '.cpp',
+ '../src/host_error_monitor.cpp',
+ cpp_args: '-DUNIT_TEST',
include_directories: incs,
dependencies: deps
+ [