From 972547697e45b813891712b6c11111889a0a32d0 Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Mon, 6 May 2019 09:42:21 -0700 Subject: test: add mock build test Avoid breaking downstream dependencies by building the mocks that are exported. Change-Id: If171910dcff4fdd90d88d7aa611891c9c3fc4b85 Signed-off-by: Patrick Venture --- test/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/Makefile.am') diff --git a/test/Makefile.am b/test/Makefile.am index bf76b45..543e1b9 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -28,3 +28,8 @@ crc_unittest_SOURCES = crc_unittest.cpp crc_unittest_CPPFLAGS = $(gtest_cppflags) crc_unittest_LDADD = $(gtest_ldadd) crc_unittest_LDADD += $(top_builddir)/src/libipmiblob.la + +check_PROGRAMS += mocks_unittest +mocks_unittest_SOURCES = build_mocks.cpp +mocks_unittest_CPPFLAGS = $(gtest_cppflags) +mocks_unittest_LDADD = $(gtest_ldadd) -- cgit v1.2.1