Patrick Venture | 123b5c0 | 2019-03-05 14:01:00 -0800 | [diff] [blame] | 1 | @VALGRIND_CHECK_RULES@ |
Patrick Venture | 123b5c0 | 2019-03-05 14:01:00 -0800 | [diff] [blame] | 2 | |
| 3 | gtest_cppflags = $(AM_CPPFLAGS) $(GTEST_CFLAGS) $(GMOCK_CFLAGS) |
| 4 | gtest_ldadd = $(GTEST_LIBS) $(GMOCK_LIBS) -lgmock_main |
| 5 | |
| 6 | check_PROGRAMS = |
| 7 | TESTS = $(check_PROGRAMS) |
| 8 | |
| 9 | check_PROGRAMS += tools_blob_unittest |
| 10 | tools_blob_unittest_SOURCES = tools_blob_unittest.cpp |
| 11 | tools_blob_unittest_CPPFLAGS = $(gtest_cppflags) |
| 12 | tools_blob_unittest_LDADD = $(gtest_ldadd) |
Patrick Venture | 0656146 | 2019-03-19 08:42:04 -0700 | [diff] [blame^] | 13 | tools_blob_unittest_LDADD += $(top_builddir)/src/libipmiblob.la |
Patrick Venture | 123b5c0 | 2019-03-05 14:01:00 -0800 | [diff] [blame] | 14 | |
| 15 | check_PROGRAMS += tools_ipmi_unittest |
| 16 | tools_ipmi_unittest_SOURCES = tools_ipmi_unittest.cpp |
| 17 | tools_ipmi_unittest_CPPFLAGS = $(gtest_cppflags) |
| 18 | tools_ipmi_unittest_LDADD = $(gtest_ldadd) |
Patrick Venture | 0656146 | 2019-03-19 08:42:04 -0700 | [diff] [blame^] | 19 | tools_ipmi_unittest_LDADD += $(top_builddir)/src/libipmiblob.la |
Patrick Venture | 123b5c0 | 2019-03-05 14:01:00 -0800 | [diff] [blame] | 20 | |
| 21 | check_PROGRAMS += tools_ipmi_error_unittest |
| 22 | tools_ipmi_error_unittest_SOURCES = tools_ipmi_error_unittest.cpp |
| 23 | tools_ipmi_error_unittest_CPPFLAGS = $(gtest_cppflags) |
| 24 | tools_ipmi_error_unittest_LDADD = $(gtest_ldadd) |
Patrick Venture | 161b721 | 2019-03-07 12:17:04 -0800 | [diff] [blame] | 25 | |
| 26 | check_PROGRAMS += crc_unittest |
| 27 | crc_unittest_SOURCES = crc_unittest.cpp |
| 28 | crc_unittest_CPPFLAGS = $(gtest_cppflags) |
| 29 | crc_unittest_LDADD = $(gtest_ldadd) |
Patrick Venture | 0656146 | 2019-03-19 08:42:04 -0700 | [diff] [blame^] | 30 | crc_unittest_LDADD += $(top_builddir)/src/libipmiblob.la |