mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32:16 +02:00
Remove unused argument to test scripts
Originally committed as revision 22156 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
cc3e2472f3
commit
801b571e33
12
Makefile
12
Makefile
@ -256,8 +256,8 @@ REFFILE = $(SRC_PATH)/tests/ref/$(1)/$(2:regtest-%=%)
|
|||||||
RESFILE = tests/data/$(2:regtest-%=%).$(1).regression
|
RESFILE = tests/data/$(2:regtest-%=%).$(1).regression
|
||||||
|
|
||||||
define CODECTEST_CMD
|
define CODECTEST_CMD
|
||||||
$(SRC_PATH)/tests/codec-regression.sh $@ vsynth1 tests/vsynth1 a "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
$(SRC_PATH)/tests/codec-regression.sh $@ vsynth1 tests/vsynth1 "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
||||||
$(SRC_PATH)/tests/codec-regression.sh $@ vsynth2 tests/vsynth2 a "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
$(SRC_PATH)/tests/codec-regression.sh $@ vsynth2 tests/vsynth2 "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
regtest-ref: regtest-aref regtest-vref
|
regtest-ref: regtest-aref regtest-vref
|
||||||
@ -266,7 +266,7 @@ regtest-vref: ffmpeg$(EXESUF) tests/vsynth1/00.pgm tests/vsynth2/00.pgm
|
|||||||
$(CODECTEST_CMD)
|
$(CODECTEST_CMD)
|
||||||
|
|
||||||
regtest-aref: ffmpeg$(EXESUF) tests/data/asynth1.sw
|
regtest-aref: ffmpeg$(EXESUF) tests/data/asynth1.sw
|
||||||
@$(SRC_PATH)/tests/codec-regression.sh $@ acodec tests/acodec a "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
@$(SRC_PATH)/tests/codec-regression.sh $@ acodec tests/acodec "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
||||||
|
|
||||||
$(VCODEC_TESTS): tests/tiny_psnr$(HOSTEXESUF)
|
$(VCODEC_TESTS): tests/tiny_psnr$(HOSTEXESUF)
|
||||||
@echo "TEST VCODEC $(@:regtest-%=%)"
|
@echo "TEST VCODEC $(@:regtest-%=%)"
|
||||||
@ -276,17 +276,17 @@ $(VCODEC_TESTS): tests/tiny_psnr$(HOSTEXESUF)
|
|||||||
|
|
||||||
$(ACODEC_TESTS): tests/tiny_psnr$(HOSTEXESUF)
|
$(ACODEC_TESTS): tests/tiny_psnr$(HOSTEXESUF)
|
||||||
@echo "TEST ACODEC $(@:regtest-%=%)"
|
@echo "TEST ACODEC $(@:regtest-%=%)"
|
||||||
@$(SRC_PATH)/tests/codec-regression.sh $@ acodec tests/acodec a "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
@$(SRC_PATH)/tests/codec-regression.sh $@ acodec tests/acodec "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
||||||
@diff -u -w $(call REFFILE,acodec,$@) $(call RESFILE,acodec,$@)
|
@diff -u -w $(call REFFILE,acodec,$@) $(call RESFILE,acodec,$@)
|
||||||
|
|
||||||
$(LAVF_TESTS):
|
$(LAVF_TESTS):
|
||||||
@echo "TEST LAVF $(@:regtest-%=%)"
|
@echo "TEST LAVF $(@:regtest-%=%)"
|
||||||
@$(SRC_PATH)/tests/lavf-regression.sh $@ lavf tests/vsynth1 b "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
@$(SRC_PATH)/tests/lavf-regression.sh $@ lavf tests/vsynth1 "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
||||||
@diff -u -w $(call REFFILE,lavf,$@) $(call RESFILE,lavf,$@)
|
@diff -u -w $(call REFFILE,lavf,$@) $(call RESFILE,lavf,$@)
|
||||||
|
|
||||||
$(LAVFI_TESTS):
|
$(LAVFI_TESTS):
|
||||||
@echo "TEST LAVFI $(@:regtest-%=%)"
|
@echo "TEST LAVFI $(@:regtest-%=%)"
|
||||||
@$(SRC_PATH)/tests/lavfi-regression.sh $@ lavfi tests/vsynth1 b "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
@$(SRC_PATH)/tests/lavfi-regression.sh $@ lavfi tests/vsynth1 "$(TARGET_EXEC)" "$(TARGET_PATH)"
|
||||||
@diff -u -w $(call REFFILE,lavfi,$@) $(call RESFILE,lavfi,$@)
|
@diff -u -w $(call REFFILE,lavfi,$@) $(call RESFILE,lavfi,$@)
|
||||||
|
|
||||||
seektest: codectest lavftest tests/seek_test$(EXESUF)
|
seektest: codectest lavftest tests/seek_test$(EXESUF)
|
||||||
|
@ -7,9 +7,8 @@
|
|||||||
test="${1#regtest-}"
|
test="${1#regtest-}"
|
||||||
test_ref=$2
|
test_ref=$2
|
||||||
raw_src_dir=$3
|
raw_src_dir=$3
|
||||||
outfile_prefix=$4
|
target_exec=$4
|
||||||
target_exec=$5
|
target_path=$5
|
||||||
target_path=$6
|
|
||||||
|
|
||||||
datadir="./tests/data"
|
datadir="./tests/data"
|
||||||
target_datadir="${target_path}/${datadir}"
|
target_datadir="${target_path}/${datadir}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user