diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-06-15 15:10:25 -0400 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-08-02 20:18:18 +0000 |
commit | e2c65d43ef41289271c3a504e1e9852b2249e290 (patch) | |
tree | 98bd973ccfadbb00bc52f177e608834419f5256e | |
parent | 0c9271f0a214d1c6cdce79fdcabc62653038e942 (diff) | |
download | phosphor-fan-presence-e2c65d43ef41289271c3a504e1e9852b2249e290.tar.gz phosphor-fan-presence-e2c65d43ef41289271c3a504e1e9852b2249e290.zip |
Add test directory for sdevent wrappers
Change-Id: I23843493e8f2c43ed50cdf1ad5def66a2f29dec3
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | sdevent/test/.gitignore | 0 | ||||
-rw-r--r-- | sdevent/test/Makefile.am | 7 |
4 files changed, 9 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 73d8e41..2e3d3ae 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,7 +10,7 @@ libfan_la_SOURCES = \ utility.cpp \ timer.cpp -SUBDIRS = . test +SUBDIRS = . test sdevent/test if WANT_PRESENCE SUBDIRS += presence diff --git a/configure.ac b/configure.ac index f4c321d..e9b8065 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]) +AC_CONFIG_FILES([Makefile test/Makefile sdevent/test/Makefile]) AC_OUTPUT diff --git a/sdevent/test/.gitignore b/sdevent/test/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/sdevent/test/.gitignore diff --git a/sdevent/test/Makefile.am b/sdevent/test/Makefile.am new file mode 100644 index 0000000..56c3ab3 --- /dev/null +++ b/sdevent/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) |