diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-06-15 22:42:22 -0400 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-08-02 20:18:18 +0000 |
commit | 5d70c251cd74eb50453afe07daf5ac7e844b5d78 (patch) | |
tree | 229bab16879ba2a71b3797eb28c9050e1c231842 | |
parent | 8a502f51303a1cc437cbf370767b85c35a5b6f95 (diff) | |
download | phosphor-fan-presence-5d70c251cd74eb50453afe07daf5ac7e844b5d78.tar.gz phosphor-fan-presence-5d70c251cd74eb50453afe07daf5ac7e844b5d78.zip |
evdevpp: Add test directory for libevdev wrappers
Change-Id: Ib9d2e5cee2b9c1e28eb08c3c85f36f448160c16f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | evdevpp/test/.gitignore | 0 | ||||
-rw-r--r-- | evdevpp/test/Makefile.am | 8 |
4 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 2e3d3ae..0b824b7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,7 +10,7 @@ libfan_la_SOURCES = \ utility.cpp \ timer.cpp -SUBDIRS = . test sdevent/test +SUBDIRS = . test sdevent/test evdevpp/test if WANT_PRESENCE SUBDIRS += presence diff --git a/configure.ac b/configure.ac index b7842fd..11d557e 100644 --- a/configure.ac +++ b/configure.ac @@ -161,5 +161,5 @@ AS_IF([test "x$enable_monitor" != "xno"], [ ]) # Create configured output -AC_CONFIG_FILES([Makefile test/Makefile sdevent/test/Makefile]) +AC_CONFIG_FILES([Makefile test/Makefile sdevent/test/Makefile evdevpp/test/Makefile]) AC_OUTPUT diff --git a/evdevpp/test/.gitignore b/evdevpp/test/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/evdevpp/test/.gitignore diff --git a/evdevpp/test/Makefile.am b/evdevpp/test/Makefile.am new file mode 100644 index 0000000..36455d7 --- /dev/null +++ b/evdevpp/test/Makefile.am @@ -0,0 +1,8 @@ +AM_CPPFLAGS = -iquote$(top_srcdir) +gtest_cflags = $(PTHREAD_CFLAGS) +gtest_ldadd = -lgtest -lgtest_main -lgmock $(PTHREAD_LIBS) + +check_PROGRAMS = +noinst_PROGRAMS = + +TESTS = $(check_PROGRAMS) |