blob: 05d9b1ded2e858e5cc1bd42a7167b7cabfe791fa [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)