summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-07-13 00:12:17 -0400
committerPatrick Williams <patrick@stwcx.xyz>2017-08-02 20:18:19 +0000
commit135a47f9212e896fb2a52d22d0d44d80b453487c (patch)
tree9c309e80ee86a586524b669a8546f3bf09dea7d4
parent372b22c3ebcdfa606c95f4b9afac5cfcbb7eaebb (diff)
downloadphosphor-fan-presence-135a47f9212e896fb2a52d22d0d44d80b453487c.tar.gz
phosphor-fan-presence-135a47f9212e896fb2a52d22d0d44d80b453487c.zip
presence: Add test directory
Change-Id: I1d0a8e7d4c442beb271c83d5ef6be3ca69c7c115 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--configure.ac2
-rw-r--r--presence/test/Makefile.am7
2 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5cd3a2a..1c45658 100644
--- a/configure.ac
+++ b/configure.ac
@@ -170,5 +170,5 @@ AS_IF([test "x$enable_monitor" != "xno"], [
])
# Create configured output
-AC_CONFIG_FILES([Makefile test/Makefile sdevent/test/Makefile evdevpp/test/Makefile])
+AC_CONFIG_FILES([Makefile test/Makefile sdevent/test/Makefile evdevpp/test/Makefile presence/test/Makefile])
AC_OUTPUT
diff --git a/presence/test/Makefile.am b/presence/test/Makefile.am
new file mode 100644
index 0000000..56c3ab3
--- /dev/null
+++ b/presence/test/Makefile.am
@@ -0,0 +1,7 @@
+AM_CPPFLAGS = -iquote$(top_srcdir)
+gtest_cflags = $(PTHREAD_CFLAGS)
+gtest_ldadd = -lgtest -lgtest_main -lgmock $(PTHREAD_LIBS)
+
+check_PROGRAMS =
+
+TESTS = $(check_PROGRAMS)
OpenPOWER on IntegriCloud