summaryrefslogtreecommitdiffstats
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-04-27 11:17:28 -0500
committerMatt Spinler <spinler@us.ibm.com>2017-05-11 13:52:49 -0500
commit59c29c79ec29dc29f3a32daabe299a80d0c8a49e (patch)
treedbbab7900d99525f883b2efd10a3af39032f0e8c /test/Makefile.am
parent2de67cf4d19e2e433e1ea56583e0d5ae043b3d79 (diff)
downloadphosphor-fan-presence-59c29c79ec29dc29f3a32daabe299a80d0c8a49e.tar.gz
phosphor-fan-presence-59c29c79ec29dc29f3a32daabe299a80d0c8a49e.zip
phosphor-fan: Testcases for Timer class
Change-Id: Id8b752cc6e494dcf76d9668553292a65a3fd19d6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
new file mode 100644
index 0000000..16a3252
--- /dev/null
+++ b/test/Makefile.am
@@ -0,0 +1,13 @@
+AM_CPPFLAGS = -I$(top_srcdir)
+
+# Run all 'check' test programs
+TESTS = $(check_PROGRAMS)
+
+# # Build/add timertest to test suite
+check_PROGRAMS = timertest
+timertest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS)
+timertest_CXXFLAGS = $(PTHREAD_CFLAGS)
+timertest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) \
+ $(SYSTEMD_LIBS) ${SDBUSPLUS_LIBS}
+timertest_SOURCES = timertest.cpp
+timertest_LDADD = $(top_builddir)/timer.o
OpenPOWER on IntegriCloud