fate: test more FFT etc sizes
[libav.git] / tests / fate / fft.mak
1 define DEF_FFT
2 FATE_FFT += fate-fft-$(1) fate-ifft-$(1) \
3 fate-mdct-$(1) fate-imdct-$(1) \
4 fate-rdft-$(1) fate-irdft-$(1) \
5 fate-dct1d-$(1) fate-idct1d-$(1)
6
7 fate-fft-$(N): CMD = run libavcodec/fft-test -n$(1)
8 fate-ifft-$(N): CMD = run libavcodec/fft-test -n$(1) -i
9 fate-mdct-$(N): CMD = run libavcodec/fft-test -n$(1) -m
10 fate-imdct-$(N): CMD = run libavcodec/fft-test -n$(1) -m -i
11 fate-rdft-$(N): CMD = run libavcodec/fft-test -n$(1) -r
12 fate-irdft-$(N): CMD = run libavcodec/fft-test -n$(1) -r -i
13 fate-dct1d-$(N): CMD = run libavcodec/fft-test -n$(1) -d
14 fate-idct1d-$(N): CMD = run libavcodec/fft-test -n$(1) -d -i
15 endef
16
17 $(foreach N, 4 5 6 7 8 9 10 11 12, $(eval $(call DEF_FFT,$(N))))
18
19 fate-fft-test: $(FATE_FFT)
20 $(FATE_FFT): libavcodec/fft-test$(EXESUF)
21 $(FATE_FFT): REF = /dev/null
22
23 define DEF_FFT_FIXED
24 FATE_FFT_FIXED += fate-fft-fixed-$(1) fate-ifft-fixed-$(1) \
25 fate-mdct-fixed-$(1) fate-imdct-fixed-$(1)
26
27 fate-fft-fixed-$(1): CMD = run libavcodec/fft-fixed-test -n$(1)
28 fate-ifft-fixed-$(1): CMD = run libavcodec/fft-fixed-test -n$(1) -i
29 fate-mdct-fixed-$(1): CMD = run libavcodec/fft-fixed-test -n$(1) -m
30 fate-imdct-fixed-$(1): CMD = run libavcodec/fft-fixed-test -n$(1) -m -i
31 endef
32
33 $(foreach N, 4 5 6 7 8 9 10 11 12, $(eval $(call DEF_FFT_FIXED,$(N))))
34
35 fate-fft-fixed-test: $(FATE_FFT_FIXED)
36 $(FATE_FFT_FIXED): libavcodec/fft-fixed-test$(EXESUF)
37 $(FATE_FFT_FIXED): REF = /dev/null
38
39 FATE_TESTS += $(FATE_FFT) $(FATE_FFT_FIXED)