blob: 05d9b1ded2e858e5cc1bd42a7167b7cabfe791fa [file] [log] [blame]
Patrick Venture123b5c02019-03-05 14:01:00 -08001@VALGRIND_CHECK_RULES@
2@CODE_COVERAGE_RULES@
3
4gtest_cppflags = $(AM_CPPFLAGS) $(GTEST_CFLAGS) $(GMOCK_CFLAGS)
5gtest_ldadd = $(GTEST_LIBS) $(GMOCK_LIBS) -lgmock_main
6
7check_PROGRAMS =
8TESTS = $(check_PROGRAMS)
9
10check_PROGRAMS += tools_blob_unittest
11tools_blob_unittest_SOURCES = tools_blob_unittest.cpp
12tools_blob_unittest_CPPFLAGS = $(gtest_cppflags)
13tools_blob_unittest_LDADD = $(gtest_ldadd)
14tools_blob_unittest_LDADD += $(top_builddir)/src/ipmiblob/blob_handler.o
15
16check_PROGRAMS += tools_ipmi_unittest
17tools_ipmi_unittest_SOURCES = tools_ipmi_unittest.cpp
18tools_ipmi_unittest_CPPFLAGS = $(gtest_cppflags)
19tools_ipmi_unittest_LDADD = $(gtest_ldadd)
20tools_ipmi_unittest_LDADD += $(top_builddir)/src/ipmiblob/ipmi_handler.o
21
22check_PROGRAMS += tools_ipmi_error_unittest
23tools_ipmi_error_unittest_SOURCES = tools_ipmi_error_unittest.cpp
24tools_ipmi_error_unittest_CPPFLAGS = $(gtest_cppflags)
25tools_ipmi_error_unittest_LDADD = $(gtest_ldadd)