Browse Source

fate: add oneoff test for twinvq

Originally committed as revision 24135 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Måns Rullgård 15 years ago
parent
commit
7e264ca136
2 changed files with 9 additions and 1 deletions
  1. +5
    -1
      Makefile
  2. +4
    -0
      tests/fate2.mak

+ 5
- 1
Makefile View File

@@ -276,14 +276,18 @@ tests/seek_test$(EXESUF): tests/seek_test.o $(FF_DEP_LIBS)
$(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)

include $(SRC_PATH_BARE)/tests/fate.mak
include $(SRC_PATH_BARE)/tests/fate2.mak

FATE_TESTS += $(FATE2_TESTS)

ifdef SAMPLES
fate: $(FATE_TESTS)
fate2: $(FATE2_TESTS)
$(FATE_TESTS): ffmpeg$(EXESUF) tests/tiny_psnr$(HOSTEXESUF)
@echo "TEST FATE $(@:fate-%=%)"
@$(SRC_PATH)/tests/fate-run.sh $@ "$(SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)' '$(CMP)' '$(REF)' '$(FUZZ)'
else
fate $(FATE_TESTS):
fate fate2 $(FATE_TESTS):
@echo "SAMPLES not specified, cannot run FATE"
endif



+ 4
- 0
tests/fate2.mak View File

@@ -0,0 +1,4 @@
FATE2_TESTS += fate-twinvq
fate-twinvq: CMD = $(TARGET_PATH)/ffmpeg -i $(SAMPLES)/vqf/achterba.vqf -f s16le -
fate-twinvq: CMP = oneoff
fate-twinvq: REF = $(SAMPLES)/vqf/achterba.pcm

Loading…
Cancel
Save