manager: Add build testcase
Add a basic compile time test that ensures manager.hpp can build on
its own.
Change-Id: Id10cdd8135fd4a41ebf2a76bc1e0da2d1916c6fa
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/test/Makefile.am b/test/Makefile.am
index f213b4f..36f2b4f 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -33,6 +33,12 @@
interface_ops_test_LDFLAGS = ${OESDK_TESTCASE_FLAGS}
check_PROGRAMS += interface-ops-test
+manager_test_SOURCES = manager_test.cpp
+manager_test_CFLAGS = ${GTEST_CFLAGS} ${GMOCK_CFLAGS}
+manager_test_LDADD = ${GTEST_LIBS} ${GMOCK_LIBS}
+manager_test_LDFLAGS = ${OESDK_TESTCASE_FLAGS}
+check_PROGRAMS += manager-test
+
extra_yamldir=$(top_srcdir)/example/extra_interfaces.d
phosphor_inventory_test_SOURCES = test.cpp
diff --git a/test/manager_test.cpp b/test/manager_test.cpp
new file mode 100644
index 0000000..712e9cf
--- /dev/null
+++ b/test/manager_test.cpp
@@ -0,0 +1 @@
+#include "../manager.hpp"