shithub: aubio

ref: 2d1d5ce6adc1ba219606845700c0522f77ee9ac0
dir: /tests/src/Makefile.am/

View raw version
AM_CFLAGS = -I$(top_srcdir)/src
AM_LDFLAGS = -L$(top_builddir)/src -laubio @FFTWLIB_LIBS@

test_phasevoc_jack_CFLAGS = $(AM_CFLAGS) @JACK_CFLAGS@
test_phasevoc_jack_LDADD  = $(AM_LDFLAGS) @JACK_LIBS@ 

bin_PROGRAMS = \
	test-fft \
	test-hist \
	test-scale \
	test-cvec \
	test-fvec \
	test-window \
	test-filter \
	test-biquad \
	test-resample \
	test-peakpick \
	test-phasevoc \
	test-filterbank \
	test-filterbank_mel \
	test-mfcc \
	test-phasevoc-jack \
	test-onsetdetection \
	test-pitchyin \
	test-pitchyinfft \
	test-pitchschmitt \
	test-pitchfcomb \
	test-pitchmcomb \
	test-pitch \
	test-beattracking \
	test-onset \
	test-tempo \
	test-tss

run-tests: $(bin_PROGRAMS)
	@for i in $(bin_PROGRAMS); do echo $$i; ((time ./$$i 2>&1 > /dev/null) 2>&1; echo $$?); done

run-valgrind-tests: $(bin_PROGRAMS)
	@for i in $(bin_PROGRAMS); do echo $$i; valgrind .libs/lt-$$i 2>&1 | grep ERROR\ SUMMARY -A4; echo $$?; done