From 8e200ed0ce071cba686251b42cdbc5356f8fee75 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Thu, 8 Jan 2009 17:19:20 +0200 Subject: 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) --- src/Makefile.am | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 1f634906..e4ec4880 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 -- cgit