blob: bf76b455fb8055e00317b54c9d790977630cfbe0 [file] [log] [blame]
Patrick Venture123b5c02019-03-05 14:01:00 -08001@VALGRIND_CHECK_RULES@
Patrick Venture123b5c02019-03-05 14:01:00 -08002
3gtest_cppflags = $(AM_CPPFLAGS) $(GTEST_CFLAGS) $(GMOCK_CFLAGS)
4gtest_ldadd = $(GTEST_LIBS) $(GMOCK_LIBS) -lgmock_main
5
6check_PROGRAMS =
7TESTS = $(check_PROGRAMS)
8
9check_PROGRAMS += tools_blob_unittest
10tools_blob_unittest_SOURCES = tools_blob_unittest.cpp
11tools_blob_unittest_CPPFLAGS = $(gtest_cppflags)
12tools_blob_unittest_LDADD = $(gtest_ldadd)
Patrick Venture06561462019-03-19 08:42:04 -070013tools_blob_unittest_LDADD += $(top_builddir)/src/libipmiblob.la
Patrick Venture123b5c02019-03-05 14:01:00 -080014
15check_PROGRAMS += tools_ipmi_unittest
16tools_ipmi_unittest_SOURCES = tools_ipmi_unittest.cpp
17tools_ipmi_unittest_CPPFLAGS = $(gtest_cppflags)
18tools_ipmi_unittest_LDADD = $(gtest_ldadd)
Patrick Venture06561462019-03-19 08:42:04 -070019tools_ipmi_unittest_LDADD += $(top_builddir)/src/libipmiblob.la
Patrick Venture123b5c02019-03-05 14:01:00 -080020
21check_PROGRAMS += tools_ipmi_error_unittest
22tools_ipmi_error_unittest_SOURCES = tools_ipmi_error_unittest.cpp
23tools_ipmi_error_unittest_CPPFLAGS = $(gtest_cppflags)
24tools_ipmi_error_unittest_LDADD = $(gtest_ldadd)
Patrick Venture161b7212019-03-07 12:17:04 -080025
26check_PROGRAMS += crc_unittest
27crc_unittest_SOURCES = crc_unittest.cpp
28crc_unittest_CPPFLAGS = $(gtest_cppflags)
29crc_unittest_LDADD = $(gtest_ldadd)
Patrick Venture06561462019-03-19 08:42:04 -070030crc_unittest_LDADD += $(top_builddir)/src/libipmiblob.la