From 59a6b1f27e83066baa6f3711c88d6a3b9a5c4d49 Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Wed, 29 Aug 2018 11:41:01 -0700 Subject: add sdjournal interface to inject tests The goal of the tests is not to test phosphor-logging, but rather allow code to call through phosphor-logging/log<> during a test. Change-Id: Id8c84ded473decc7f9f0be268116083093f86e54 Signed-off-by: Patrick Venture --- test/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/Makefile.am b/test/Makefile.am index 092dd02..08a2537 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -36,9 +36,12 @@ test_ldadd = \ $(top_builddir)/xyz/openbmc_project/Logging/Internal/Manager/server.o \ $(top_builddir)/elog_meta.o \ $(top_builddir)/elog-lookup.o \ - $(top_builddir)/elog-process-metadata.o + $(top_builddir)/elog-process-metadata.o \ + $(top_builddir)/sdjournal.o -remote_logging_test_ldadd = $(top_builddir)/phosphor-rsyslog-config/server-conf.o +remote_logging_test_ldadd = \ + $(top_builddir)/phosphor-rsyslog-config/server-conf.o \ + $(top_builddir)/sdjournal.o elog_errorwrap_test_CPPFLAGS = $(test_cppflags) elog_errorwrap_test_CXXFLAGS = $(test_cxxflags) -- cgit v1.2.1