summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-30 12:50:58 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2018-08-16 09:59:58 +0200
commit440b7ce03f29378bf04af9ed2016049dfb8df40e (patch)
treeeb6b0499f5421141108c639284adea921b0c23a3 /src/Makefile.am
parent1320ba435e6fcd3ed868d0798cc4e9a74d4ffd59 (diff)
tests: add failsafe timeout for tests running in fork mode
some tests manage to deadlock themselves on travis, seemingly due to some hard to reproduce issues which are a result of the extremely low amount of resources available on travis builds this adds a simple 'timeout' process which does nothing but sleep(60); and then returns. the exiting of this process will cause the main test process to break out of the deadlock and then exit instead of timing out a ci build Differential Revision: https://phab.enlightenment.org/D6697
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 86fb3b9..1ab87da 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -125,6 +125,10 @@ endif
125DIST_SUBDIRS += $(EXAMPLES_SUBDIRS) 125DIST_SUBDIRS += $(EXAMPLES_SUBDIRS)
126 126
127if EFL_ENABLE_TESTS 127if EFL_ENABLE_TESTS
128noinst_PROGRAMS += tests/timeout
129
130$(check_PROGRAMS): tests/timeout
131
128check-build: all 132check-build: all
129 @$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 133 @$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
130endif 134endif