mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Generate list of lavfi tests in configure
Originally committed as revision 24329 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2e204aeb1b
commit
48c281629a
14
Makefile
14
Makefile
@ -176,20 +176,6 @@ fulltest test: codectest lavftest seektest
|
||||
FFSERVER_REFFILE = $(SRC_PATH)/tests/ffserver.regression.ref
|
||||
SEEK_REFFILE = $(SRC_PATH)/tests/seek.regression.ref
|
||||
|
||||
LAVFI_TESTS = \
|
||||
crop \
|
||||
crop_scale \
|
||||
crop_scale_vflip \
|
||||
crop_vflip \
|
||||
null \
|
||||
scale200 \
|
||||
scale500 \
|
||||
vflip \
|
||||
vflip_crop \
|
||||
vflip_vflip \
|
||||
lavfi_pixdesc \
|
||||
# lavfi_pix_fmts \
|
||||
|
||||
ACODEC_TESTS := $(addprefix regtest-, $(ACODEC_TESTS) $(ACODEC_TESTS-yes))
|
||||
VCODEC_TESTS := $(addprefix regtest-, $(VCODEC_TESTS) $(VCODEC_TESTS-yes))
|
||||
LAVF_TESTS := $(addprefix regtest-, $(LAVF_TESTS) $(LAVF_TESTS-yes))
|
||||
|
5
configure
vendored
5
configure
vendored
@ -1616,6 +1616,7 @@ find_tests(){
|
||||
ACODEC_TESTS=$(find_tests acodec)
|
||||
VCODEC_TESTS=$(find_tests vsynth1)
|
||||
LAVF_TESTS=$(find_tests lavf)
|
||||
LAVFI_TESTS=$(find_tests lavfi)
|
||||
|
||||
pcm_test_deps=$(map 'echo ${v%_*}_decoder $v' $(filter pcm_* $ENCODER_LIST))
|
||||
|
||||
@ -1625,7 +1626,7 @@ for n in $COMPONENT_LIST; do
|
||||
eval ${n}_if_any="\$$v"
|
||||
done
|
||||
|
||||
enable $ARCH_EXT_LIST $ACODEC_TESTS $VCODEC_TESTS $LAVF_TESTS
|
||||
enable $ARCH_EXT_LIST $ACODEC_TESTS $VCODEC_TESTS $LAVF_TESTS $LAVFI_TESTS
|
||||
|
||||
die_unknown(){
|
||||
echo "Unknown option \"$1\"."
|
||||
@ -2853,6 +2854,7 @@ check_deps $CONFIG_LIST \
|
||||
$ACODEC_TESTS \
|
||||
$VCODEC_TESTS \
|
||||
$LAVF_TESTS \
|
||||
$LAVFI_TESTS \
|
||||
|
||||
enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; }
|
||||
|
||||
@ -3127,6 +3129,7 @@ cat >>config.mak <<EOF
|
||||
ACODEC_TESTS=$(print_enabled -n _test $ACODEC_TESTS)
|
||||
VCODEC_TESTS=$(print_enabled -n _test $VCODEC_TESTS)
|
||||
LAVF_TESTS=$(print_enabled -n _test $LAVF_TESTS)
|
||||
LAVFI_TESTS=$(print_enabled -n _test $LAVFI_TESTS)
|
||||
EOF
|
||||
|
||||
echo "#endif /* FFMPEG_CONFIG_H */" >> $TMPH
|
||||
|
Loading…
Reference in New Issue
Block a user