mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
Collect list of seek tests in configure
Originally committed as revision 24346 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f729c4aea8
commit
b9d5f1b7ed
7
configure
vendored
7
configure
vendored
@ -1612,13 +1612,14 @@ PROTOCOL_LIST=$(find_things protocol PROTOCOL libavformat/allformats.c)
|
|||||||
FILTER_LIST=$(find_things filter FILTER libavfilter/allfilters.c)
|
FILTER_LIST=$(find_things filter FILTER libavfilter/allfilters.c)
|
||||||
|
|
||||||
find_tests(){
|
find_tests(){
|
||||||
map 'echo ${v}_test' $(ls "$source_path"/tests/ref/$1 | grep -v '[^-a-z0-9_]')
|
map "echo ${2}\${v}_test" $(ls "$source_path"/tests/ref/$1 | grep -v '[^-a-z0-9_]')
|
||||||
}
|
}
|
||||||
|
|
||||||
ACODEC_TESTS=$(find_tests acodec)
|
ACODEC_TESTS=$(find_tests acodec)
|
||||||
VCODEC_TESTS=$(find_tests vsynth1)
|
VCODEC_TESTS=$(find_tests vsynth1)
|
||||||
LAVF_TESTS=$(find_tests lavf)
|
LAVF_TESTS=$(find_tests lavf)
|
||||||
LAVFI_TESTS=$(find_tests lavfi)
|
LAVFI_TESTS=$(find_tests lavfi)
|
||||||
|
SEEK_TESTS=$(find_tests seek seek_)
|
||||||
|
|
||||||
pcm_test_deps=$(map 'echo ${v%_*}_decoder $v' $(filter pcm_* $ENCODER_LIST))
|
pcm_test_deps=$(map 'echo ${v%_*}_decoder $v' $(filter pcm_* $ENCODER_LIST))
|
||||||
|
|
||||||
@ -1628,7 +1629,7 @@ for n in $COMPONENT_LIST; do
|
|||||||
eval ${n}_if_any="\$$v"
|
eval ${n}_if_any="\$$v"
|
||||||
done
|
done
|
||||||
|
|
||||||
enable $ARCH_EXT_LIST $ACODEC_TESTS $VCODEC_TESTS $LAVF_TESTS $LAVFI_TESTS
|
enable $ARCH_EXT_LIST $ACODEC_TESTS $VCODEC_TESTS $LAVF_TESTS $LAVFI_TESTS $SEEK_TESTS
|
||||||
|
|
||||||
die_unknown(){
|
die_unknown(){
|
||||||
echo "Unknown option \"$1\"."
|
echo "Unknown option \"$1\"."
|
||||||
@ -2857,6 +2858,7 @@ check_deps $CONFIG_LIST \
|
|||||||
$VCODEC_TESTS \
|
$VCODEC_TESTS \
|
||||||
$LAVF_TESTS \
|
$LAVF_TESTS \
|
||||||
$LAVFI_TESTS \
|
$LAVFI_TESTS \
|
||||||
|
$SEEK_TESTS \
|
||||||
|
|
||||||
enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; }
|
enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; }
|
||||||
|
|
||||||
@ -3132,6 +3134,7 @@ ACODEC_TESTS=$(print_enabled -n _test $ACODEC_TESTS)
|
|||||||
VCODEC_TESTS=$(print_enabled -n _test $VCODEC_TESTS)
|
VCODEC_TESTS=$(print_enabled -n _test $VCODEC_TESTS)
|
||||||
LAVF_TESTS=$(print_enabled -n _test $LAVF_TESTS)
|
LAVF_TESTS=$(print_enabled -n _test $LAVF_TESTS)
|
||||||
LAVFI_TESTS=$(print_enabled -n _test $LAVFI_TESTS)
|
LAVFI_TESTS=$(print_enabled -n _test $LAVFI_TESTS)
|
||||||
|
SEEK_TESTS=$(print_enabled -n _test $SEEK_TESTS)
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "#endif /* FFMPEG_CONFIG_H */" >> $TMPH
|
echo "#endif /* FFMPEG_CONFIG_H */" >> $TMPH
|
||||||
|
Loading…
Reference in New Issue
Block a user