fate: add flac encode/decode tests with various options

Signed-off-by: Mans Rullgard <mans@mansr.com>
pull/59/head
Mans Rullgard 13 years ago
parent 360aa2465a
commit 983fa8bc46
  1. 1
      tests/Makefile
  2. 19
      tests/fate/flac.mak

@ -41,6 +41,7 @@ include $(SRC_PATH)/tests/fate/demux.mak
include $(SRC_PATH)/tests/fate/dfa.mak
include $(SRC_PATH)/tests/fate/dpcm.mak
include $(SRC_PATH)/tests/fate/ea.mak
include $(SRC_PATH)/tests/fate/flac.mak
include $(SRC_PATH)/tests/fate/fft.mak
include $(SRC_PATH)/tests/fate/h264.mak
include $(SRC_PATH)/tests/fate/image.mak

@ -0,0 +1,19 @@
FATE_FLAC += fate-flac-chmode-indep \
fate-flac-chmode-left_side \
fate-flac-chmode-mid_side \
fate-flac-chmode-right_side \
fate-flac-fixed \
fate-flac-lpc-cholesky \
fate-flac-lpc-levinson \
fate-flac-chmode-%: OPTS = -ch_mode $(@:fate-flac-chmode-%=%)
fate-flac-fixed: OPTS = -lpc_type fixed
fate-flac-lpc-%: OPTS = -lpc_type $(@:fate-flac-lpc-%=%)
fate-flac-%: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
fate-flac-%: CMD = enc_dec_pcm flac wav s16le $(REF) -c flac $(OPTS)
fate-flac-%: CMP = oneoff
fate-flac-%: FUZZ = 0
FATE_AVCONV += $(FATE_FLAC)
fate-flac: $(FATE_FLAC)
Loading…
Cancel
Save