mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-12 13:58:58 -04:00
test: register different tests in automake
Before this patch we have one test.sh (well test-script.sh), and tooks very long to run it sequentially, but they are pretty lightweight, so we should run then in parallel.
This commit is contained in:
parent
54d7473f91
commit
ea1d30cac4
@ -42,14 +42,41 @@ noinst_HEADERS+= \
|
|||||||
test/tinytest_local.h \
|
test/tinytest_local.h \
|
||||||
test/tinytest_macros.h
|
test/tinytest_macros.h
|
||||||
|
|
||||||
# We need to copy this file, since automake doesn't want us to use top_srcdir
|
TESTS = \
|
||||||
# in TESTS.
|
test_runner_epoll \
|
||||||
TESTS = test/test-script.sh
|
test_runner_select \
|
||||||
|
test_runner_kqueue \
|
||||||
|
test_runner_evport \
|
||||||
|
test_runner_devpoll \
|
||||||
|
test_runner_poll \
|
||||||
|
test_runner_win32 \
|
||||||
|
test_runner_timerfd \
|
||||||
|
test_runner_changelist \
|
||||||
|
test_runner_timerfd_changelist
|
||||||
|
LOG_COMPILER = true
|
||||||
|
TESTS_COMPILER = true
|
||||||
|
|
||||||
test/test-script.sh: test/test.sh
|
test_runner_epoll: test/test.sh
|
||||||
cp $(top_srcdir)/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
|
||||||
|
|
||||||
DISTCLEANFILES += test/test-script.sh
|
|
||||||
DISTCLEANFILES += test/regress.gen.c test/regress.gen.h
|
DISTCLEANFILES += test/regress.gen.c test/regress.gen.h
|
||||||
|
|
||||||
if BUILD_REGRESS
|
if BUILD_REGRESS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user