Simplify regtest reference makefile dependencies
Originally committed as revision 24121 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
57442411d7
commit
9770a7ad0e
17
Makefile
17
Makefile
@ -201,16 +201,17 @@ codectest: $(CODEC_TESTS)
|
|||||||
lavftest: $(LAVF_TESTS)
|
lavftest: $(LAVF_TESTS)
|
||||||
lavfitest: $(LAVFI_TESTS)
|
lavfitest: $(LAVFI_TESTS)
|
||||||
|
|
||||||
$(ACODEC_TESTS): regtest-aref
|
AREF = tests/data/acodec.ref.wav
|
||||||
$(VCODEC_TESTS): regtest-vref
|
VREF = tests/data/vsynth1.ref.yuv
|
||||||
$(LAVF_TESTS) $(LAVFI_TESTS): regtest-ref
|
REFS = $(AREF) $(VREF)
|
||||||
|
|
||||||
|
$(ACODEC_TESTS): $(AREF)
|
||||||
|
$(VCODEC_TESTS): $(VREF)
|
||||||
|
$(LAVF_TESTS) $(LAVFI_TESTS): $(REFS)
|
||||||
|
|
||||||
REFFILE = $(SRC_PATH)/tests/ref/$(1)/$(2:regtest-%=%)
|
REFFILE = $(SRC_PATH)/tests/ref/$(1)/$(2:regtest-%=%)
|
||||||
RESFILE = tests/data/$(2:regtest-%=%).$(1).regression
|
RESFILE = tests/data/$(2:regtest-%=%).$(1).regression
|
||||||
|
|
||||||
AREF = tests/data/acodec.ref.wav
|
|
||||||
VREF = tests/data/vsynth1.ref.yuv tests/data/vsynth2.ref.yuv
|
|
||||||
|
|
||||||
define VCODECTEST
|
define VCODECTEST
|
||||||
@echo "TEST VCODEC $(1:regtest-%=%)"
|
@echo "TEST VCODEC $(1:regtest-%=%)"
|
||||||
$(SRC_PATH)/tests/codec-regression.sh $(1) vsynth1 tests/vsynth1 "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
$(SRC_PATH)/tests/codec-regression.sh $(1) vsynth1 tests/vsynth1 "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
||||||
@ -222,10 +223,6 @@ define ACODECTEST
|
|||||||
$(SRC_PATH)/tests/codec-regression.sh $(1) acodec tests/acodec "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
$(SRC_PATH)/tests/codec-regression.sh $(1) acodec tests/acodec "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
regtest-ref: regtest-aref regtest-vref
|
|
||||||
regtest-aref: $(AREF)
|
|
||||||
regtest-vref: $(VREF)
|
|
||||||
|
|
||||||
$(VREF): ffmpeg$(EXESUF) tests/vsynth1/00.pgm tests/vsynth2/00.pgm
|
$(VREF): ffmpeg$(EXESUF) tests/vsynth1/00.pgm tests/vsynth2/00.pgm
|
||||||
@$(call VCODECTEST,vref)
|
@$(call VCODECTEST,vref)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user