diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-20 10:19:26 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-20 10:19:26 +0000 |
commit | b9d5f1b7eda75be3476c5e3cdb80ac1599e79561 (patch) | |
tree | eece003837cd71ddba012803b65988c1d19e0661 | |
parent | f729c4aea8c663935d1584ec727a36d2760f6e7c (diff) | |
download | ffmpeg-b9d5f1b7eda75be3476c5e3cdb80ac1599e79561.tar.gz |
Collect list of seek tests in configure
Originally committed as revision 24346 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1612,13 +1612,14 @@ PROTOCOL_LIST=$(find_things protocol PROTOCOL libavformat/allformats.c) FILTER_LIST=$(find_things filter FILTER libavfilter/allfilters.c) 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) VCODEC_TESTS=$(find_tests vsynth1) LAVF_TESTS=$(find_tests lavf) LAVFI_TESTS=$(find_tests lavfi) +SEEK_TESTS=$(find_tests seek seek_) 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" 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(){ echo "Unknown option \"$1\"." @@ -2857,6 +2858,7 @@ check_deps $CONFIG_LIST \ $VCODEC_TESTS \ $LAVF_TESTS \ $LAVFI_TESTS \ + $SEEK_TESTS \ 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) LAVF_TESTS=$(print_enabled -n _test $LAVF_TESTS) LAVFI_TESTS=$(print_enabled -n _test $LAVFI_TESTS) +SEEK_TESTS=$(print_enabled -n _test $SEEK_TESTS) EOF echo "#endif /* FFMPEG_CONFIG_H */" >> $TMPH |