blob: 1fa4ced825600f25a66b2c28b0be39959bdb83e6 [file] [log] [blame]
@VALGRIND_CHECK_RULES@
@CODE_COVERAGE_RULES@
gtest_cppflags = $(AM_CPPFLAGS) $(GTEST_CFLAGS) $(GMOCK_CFLAGS)
gtest_ldadd = $(GTEST_LIBS) $(GMOCK_LIBS) -lgmock_main
check_PROGRAMS =
TESTS = $(check_PROGRAMS)
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
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
check_PROGRAMS += tools_ipmi_error_unittest
tools_ipmi_error_unittest_SOURCES = tools_ipmi_error_unittest.cpp
tools_ipmi_error_unittest_CPPFLAGS = $(gtest_cppflags)
tools_ipmi_error_unittest_LDADD = $(gtest_ldadd)
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