diff options
author | Patrick Venture <venture@google.com> | 2019-03-19 08:42:04 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2019-03-19 08:42:04 -0700 |
commit | 06561460bded9bf42398d987ac87bcec170740aa (patch) | |
tree | 82b6e3927521f470309c8a11d632b225b27c6018 | |
parent | 51372f02b96e1f1b1317e25e956c712019557bb4 (diff) | |
download | ipmi-blob-tool-06561460bded9bf42398d987ac87bcec170740aa.tar.gz ipmi-blob-tool-06561460bded9bf42398d987ac87bcec170740aa.zip |
unit-test: use library instead of object files
Use the library object instead of the specific object files for proper
coverage functionality.
Tested: Verified coverage output.
Change-Id: Ia9ca935e774160ef5a83a823489160aa95a09169
Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r-- | test/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index 8974e42..bf76b45 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -10,13 +10,13 @@ check_PROGRAMS += tools_blob_unittest tools_blob_unittest_SOURCES = tools_blob_unittest.cpp tools_blob_unittest_CPPFLAGS = $(gtest_cppflags) tools_blob_unittest_LDADD = $(gtest_ldadd) -tools_blob_unittest_LDADD += $(top_builddir)/src/ipmiblob/blob_handler.o +tools_blob_unittest_LDADD += $(top_builddir)/src/libipmiblob.la check_PROGRAMS += tools_ipmi_unittest tools_ipmi_unittest_SOURCES = tools_ipmi_unittest.cpp tools_ipmi_unittest_CPPFLAGS = $(gtest_cppflags) tools_ipmi_unittest_LDADD = $(gtest_ldadd) -tools_ipmi_unittest_LDADD += $(top_builddir)/src/ipmiblob/ipmi_handler.o +tools_ipmi_unittest_LDADD += $(top_builddir)/src/libipmiblob.la check_PROGRAMS += tools_ipmi_error_unittest tools_ipmi_error_unittest_SOURCES = tools_ipmi_error_unittest.cpp @@ -27,4 +27,4 @@ check_PROGRAMS += crc_unittest crc_unittest_SOURCES = crc_unittest.cpp crc_unittest_CPPFLAGS = $(gtest_cppflags) crc_unittest_LDADD = $(gtest_ldadd) -crc_unittest_LDADD += $(top_builddir)/src/ipmiblob/crc.o +crc_unittest_LDADD += $(top_builddir)/src/libipmiblob.la |