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