summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-05-31 18:54:22 +0530
committerVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-06-08 12:50:48 +0530
commit4d5ef3f92ecec91ca92deec1da2984917a4672bb (patch)
treea7aab486c95ada6cf580348f55c124c58147a33e /test
parent00bd377e612a646b43e0186f84e1343f160daa0f (diff)
downloadphosphor-watchdog-4d5ef3f92ecec91ca92deec1da2984917a4672bb.tar.gz
phosphor-watchdog-4d5ef3f92ecec91ca92deec1da2984917a4672bb.zip
Commit error and exit the application on error scenarios
Typically sd_event* calls can not go wrong and if they do, better would be to terminate the application so we get a coredump. Change-Id: I899177c369332cabf6d9bc22daaa142b50d758d0 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 654f0f1..259e357 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -34,6 +34,7 @@ watchdog_test_LDFLAGS = ${utestLDFLAGS}
timer_test_SOURCES = timer_test.cpp
watchdog_test_SOURCES = watchdog_test.cpp
-timer_test_LDADD = $(top_builddir)/timer.o
-watchdog_test_LDADD = $(top_builddir)/timer.o \
- $(top_builddir)/watchdog.o
+timer_test_LDADD = $(top_builddir)/timer.o
+
+watchdog_test_LDADD = $(top_builddir)/watchdog.o \
+ $(top_builddir)/timer.o
OpenPOWER on IntegriCloud