]> granicus.if.org Git - libevent/commitdiff
Fix tests with detached builds
authorOndřej Kuzník <ondra@mistotebe.net>
Wed, 28 Jun 2017 11:29:29 +0000 (12:29 +0100)
committerAzat Khuzhin <azat@libevent.org>
Sat, 2 Feb 2019 12:13:52 +0000 (15:13 +0300)
Closes: #524
(cherry picked from commit cf7f5b0dc484152ae3be7ea6ba57552595891608)

test/include.am

index 132bbcd46272538cc94c65064c755f461193e1cc..ee2ab5ffc3a35b961c723393bd2981cf688148f9 100644 (file)
@@ -57,26 +57,26 @@ TESTS = \
 LOG_COMPILER = true
 TESTS_COMPILER = true
 
-test_runner_epoll: test/test.sh
-       test/test.sh -b EPOLL
-test_runner_select: test/test.sh
-       test/test.sh -b SELECT
-test_runner_kqueue: test/test.sh
-       test/test.sh -b KQUEUE
-test_runner_evport: test/test.sh
-       test/test.sh -b EVPORT
-test_runner_devpoll: test/test.sh
-       test/test.sh -b DEVPOLL
-test_runner_poll: test/test.sh
-       test/test.sh -b POLL
-test_runner_win32: test/test.sh
-       test/test.sh -b WIN32
-test_runner_timerfd: test/test.sh
-       test/test.sh -b "" -t
-test_runner_changelist: test/test.sh
-       test/test.sh -b "" -c
-test_runner_timerfd_changelist: test/test.sh
-       test/test.sh -b "" -T
+test_runner_epoll: $(top_srcdir)/test/test.sh
+       $(top_srcdir)/test/test.sh -b EPOLL
+test_runner_select: $(top_srcdir)/test/test.sh
+       $(top_srcdir)/test/test.sh -b SELECT
+test_runner_kqueue: $(top_srcdir)/test/test.sh
+       $(top_srcdir)/test/test.sh -b KQUEUE
+test_runner_evport: $(top_srcdir)/test/test.sh
+       $(top_srcdir)/test/test.sh -b EVPORT
+test_runner_devpoll: $(top_srcdir)/test/test.sh
+       $(top_srcdir)/test/test.sh -b DEVPOLL
+test_runner_poll: $(top_srcdir)/test/test.sh
+       $(top_srcdir)/test/test.sh -b POLL
+test_runner_win32: $(top_srcdir)/test/test.sh
+       $(top_srcdir)/test/test.sh -b WIN32
+test_runner_timerfd: $(top_srcdir)/test/test.sh
+       $(top_srcdir)/test/test.sh -b "" -t
+test_runner_changelist: $(top_srcdir)/test/test.sh
+       $(top_srcdir)/test/test.sh -b "" -c
+test_runner_timerfd_changelist: $(top_srcdir)/test/test.sh
+       $(top_srcdir)/test/test.sh -b "" -T
 
 DISTCLEANFILES += test/regress.gen.c test/regress.gen.h