build: run some tests during make check (and distcheck)

Run simple core tests during 'check'.

I plan to add more automated tests, including pulseaudio instances. I
did some for maemo, they still need some love.

Note: it would be funky to enable Automake 'color-tests' option when
this will be released (1.10.2 and from automake git)
This commit is contained in:
Marc-André Lureau 2009-01-08 17:19:20 +02:00
parent de57edd5d8
commit 8e200ed0ce

View file

@ -219,6 +219,35 @@ pabrowse_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
# Test programs #
###################################
# missing: mcalign-test flist-test pacat-simple parec-simple sync-playback rtstutter stripnul interpol-test thread-test
TESTS = \
mainloop-test \
strlist-test \
close-test \
voltest \
memblockq-test \
channelmap-test \
thread-mainloop-test \
utf8-test \
get-binary-name-test \
ipacl-test \
hook-list-test \
memblock-test \
asyncq-test \
asyncmsgq-test \
queue-test \
rtpoll-test \
sig2str-test \
resampler-test \
smoother-test \
mix-test \
remix-test \
envelope-test \
proplist-test \
lock-autospawn-test \
prioq-test
noinst_PROGRAMS = \
mainloop-test \
mcalign-test \
@ -256,12 +285,17 @@ noinst_PROGRAMS = \
prioq-test
if HAVE_SIGXCPU
#TESTS += \
# cpulimit-test \
# cpulimit-test2
noinst_PROGRAMS += \
cpulimit-test \
cpulimit-test2
endif
if HAVE_GLIB20
TESTS += \
mainloop-test-glib
noinst_PROGRAMS += \
mainloop-test-glib
endif