1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

tests/fate-run: add runecho command to run a test and display its output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-05-13 18:16:44 +02:00
parent 56193d33be
commit 7efe83996c

View File

@ -71,6 +71,11 @@ run(){
$target_exec $target_path/"$@" $target_exec $target_path/"$@"
} }
runecho(){
test "${V:-0}" -gt 0 && echo "$target_exec" $target_path/"$@" >&3
$target_exec $target_path/"$@" >&3
}
probefmt(){ probefmt(){
run ffprobe -show_entries format=format_name -print_format default=nw=1:nk=1 -v 0 "$@" run ffprobe -show_entries format=format_name -print_format default=nw=1:nk=1 -v 0 "$@"
} }