diff options
author | Deepak Kodihalli <dkodihal@in.ibm.com> | 2017-03-05 23:23:50 -0600 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-03-15 21:11:40 +0000 |
commit | 739e925643409e2e9b7750b3cb9f6d873c2be2fe (patch) | |
tree | 3f89c38b81048d36d2e5fd332a7a21c379216f92 /Makefile.am | |
parent | d722b3aa03c55f9a9737fb47a68e66ad803f53cc (diff) | |
download | phosphor-logging-739e925643409e2e9b7750b3cb9f6d873c2be2fe.tar.gz phosphor-logging-739e925643409e2e9b7750b3cb9f6d873c2be2fe.zip |
test: add callout-test
Add test program which can create callouts based on an input device
path. It creates an error, with callouts, with name TestCallout.
Change-Id: I96b66b73ae4a9c00daff06222841a13747c07408
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 40f780d..c9aa9f8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,9 +21,10 @@ libphosphor_logging_la_CXXFLAGS = \ $(SDBUSPLUS_CFLAGS) # Application test which runs in obmc env (qemu, real hardware) -bin_PROGRAMS = logging-test +bin_PROGRAMS = logging-test callout-test logging_test_SOURCES = logging_test.cpp logging_test_LDADD = libphosphor_logging.la +callout_test_SOURCES = callouts/callout_test.cpp sbin_PROGRAMS = phosphor-log-manager @@ -56,6 +57,9 @@ CLEANFILES = \ # systemd required for journal interfaces logging_test_LDFLAGS = $(SYSTEMD_LIBS) $(SDBUSPLUS_LIBS) logging_test_CXXFLAGS = $(SYSTEMD_CFLAGS) $(SDBUSPLUS_CFLAGS) +callout_test_LDADD = libphosphor_logging.la +callout_test_LDFLAGS = $(SDBUSPLUS_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS) +callout_test_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) phosphor_log_manager_LDFLAGS = \ $(SYSTEMD_LIBS) \ $(SDBUSPLUS_LIBS) \ |