diff tests/Makefile @ 506:285f18c0992a

Tests and fixes for FiltFilt: Fix overrun; reset filter between forwards and backwards processes
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 05 Jun 2019 15:50:38 +0100
parents 3f913390bcf2
children
line wrap: on
line diff
--- a/tests/Makefile	Wed Jun 05 12:55:15 2019 +0100
+++ b/tests/Makefile	Wed Jun 05 15:50:38 2019 +0100
@@ -5,7 +5,7 @@
 LDFLAGS := $(LDFLAGS) -lboost_unit_test_framework -lpthread
 LIBS := ../libqm-dsp.a
 
-TESTS	:= test-mathutilities test-window test-filter test-fft test-dct test-pvoc test-resampler test-medianfilter test-getkeymode test-chromagram
+TESTS	:= test-mathutilities test-window test-filter test-filtfilt test-fft test-dct test-pvoc test-resampler test-medianfilter test-getkeymode test-chromagram
 
 VG	:= valgrind -q
 
@@ -25,6 +25,9 @@
 test-filter: TestFilter.o $(LIBS)
 	$(CXX) -o $@ $^ $(LDFLAGS)
 
+test-filtfilt: TestFiltFilt.o $(LIBS)
+	$(CXX) -o $@ $^ $(LDFLAGS)
+
 test-fft: TestFFT.o $(LIBS)
 	$(CXX) -o $@ $^ $(LDFLAGS)
 
@@ -47,6 +50,7 @@
 TestMedianFilter.o: $(LIBS)
 TestWindow.o: $(LIBS)
 TestFilter.o: $(LIBS)
+TestFiltFilt.o: $(LIBS)
 TestFFT.o: $(LIBS)
 TestDCT.o: $(LIBS)
 TestPhaseVocoder.o: $(LIBS)