Propose and implement unit test framework
Enable use of GoogleTest and created a sample unit test case.
Change-Id: Ie370745a32777d4ed81ee24145364029c8e7bf02
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index 4cab12c..429d962 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -47,17 +47,4 @@
nobase_include_HEADERS = \
host-ipmid/ipmid-api.h
-check_PROGRAMS = \
- testit
-# testaddsel
-
-testit_SOURCES = \
- ipmisensor.cpp \
- testit.cpp
-testit_LDFLAGS = $(SYSTEMD_LIBS) $(LIBADD_DLOPEN)
-
-#testaddsel_SOURCES = \
-# testaddsel.cpp \
-# storageaddsel.cpp
-#testaddsel_LDFLAGS = $(SYSTEMD_CFLAGS) $(SYSTEMD_LIBS) $(LIBADD_DLOPEN)
-
+SUBDIRS = test