Error log inject tool

This tool adds an option to the logging-test
to inject an error as specified by command
line.

Change-Id: I1028bd3964db23ed5ffa50414f7a6cc2f880c40c
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index fe90c2f..dae8b7a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,6 +23,7 @@
 # Application test which runs in obmc env (qemu, real hardware)
 bin_PROGRAMS = logging-test
 logging_test_SOURCES = logging_test.cpp
+logging_test_LDADD = libphosphor_logging.la
 
 sbin_PROGRAMS = phosphor-log-manager