test: Make sure mocks compile
This makes sure we don't accidentally change our interface without
updating the mock.
Change-Id: I50c6827e637167f1223d91f724b99ef8a24b107f
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/Makefile.am b/test/Makefile.am
index 28bab29..103010d 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -27,6 +27,11 @@
internal_fd_CPPFLAGS = $(gtest_cppflags)
internal_fd_LDADD = $(gtest_ldadd)
+check_PROGRAMS += mocks
+mocks_SOURCES = mocks.cpp
+mocks_CPPFLAGS = $(gtest_cppflags)
+mocks_LDADD = $(gtest_ldadd)
+
check_PROGRAMS += utility/aspeed
utility_aspeed_SOURCES = utility/aspeed.cpp
utility_aspeed_CPPFLAGS = $(gtest_cppflags)