Print the failing filename in the journal msg
Instead of hiding the name of the file that had the failed access in the
journal metadata, put it in the journal message so debug is easier.
Uses the fmt library.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ice3958ffb576adf0b06ef7eab7d2fc03aa526819
diff --git a/test/Makefile.am b/test/Makefile.am
index 41cee60..3674dca 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -17,7 +17,8 @@
$(OESDK_TESTCASE_FLAGS) \
$(SDBUSPLUS_LIBS) \
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
- $(CODE_COVERAGE_LIBS)
+ $(CODE_COVERAGE_LIBS) \
+ $(FMT_LIBS)
# Run all 'check' test programs
check_PROGRAMS = hwmon_unittest fanpwm_unittest sensor_unittest hwmonio_default_unittest env_unittest average_unittest