diff options
author | Patrick Venture <venture@google.com> | 2019-05-06 09:42:21 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2019-05-06 09:46:18 -0700 |
commit | 972547697e45b813891712b6c11111889a0a32d0 (patch) | |
tree | 0f10acc3d8854c188aa640ee30b8f207b7337cdf /test/Makefile.am | |
parent | 06561460bded9bf42398d987ac87bcec170740aa (diff) | |
download | ipmi-blob-tool-972547697e45b813891712b6c11111889a0a32d0.tar.gz ipmi-blob-tool-972547697e45b813891712b6c11111889a0a32d0.zip |
test: add mock build test
Avoid breaking downstream dependencies by building the mocks that are
exported.
Change-Id: If171910dcff4fdd90d88d7aa611891c9c3fc4b85
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'test/Makefile.am')
-rw-r--r-- | test/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
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) |