summaryrefslogtreecommitdiffstats
path: root/src/test/Makefile.am
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-05-22 22:04:03 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-05-23 18:56:57 -0400
commit83c4349e79252f476912d0305ac0e33828d6d54f (patch)
treee965b42a5ae2482620c6cad865fc9cee0014e3ba /src/test/Makefile.am
parent870c3fc67cd66cfd90bf262433f5141e76fc2145 (diff)
downloadphosphor-dbus-monitor-83c4349e79252f476912d0305ac0e33828d6d54f.tar.gz
phosphor-dbus-monitor-83c4349e79252f476912d0305ac0e33828d6d54f.zip
build: Add a test directory
Add a test directory to host future unit tests. Change-Id: I5072cb3055386f7b1718edc45241c723d9e63a54 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/test/Makefile.am')
-rw-r--r--src/test/Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/Makefile.am b/src/test/Makefile.am
new file mode 100644
index 0000000..c44bffa
--- /dev/null
+++ b/src/test/Makefile.am
@@ -0,0 +1,13 @@
+include $(top_srcdir)/vars.mk
+
+AM_CPPFLAGS = -iquote$(top_srcdir)/src
+gtest_cflags = $(PTHREAD_CFLAGS)
+gtest_ldadd = -lgtest -lgtest_main -lgmock $(PTHREAD_LIBS)
+
+TEMPLATESEARCH+=${srcdir}/templates
+
+check_PROGRAMS =
+BUILT_SOURCES =
+CLEANFILES =
+
+TESTS = $(check_PROGRAMS)
OpenPOWER on IntegriCloud