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:
parent
56193d33be
commit
7efe83996c
1 changed files with 5 additions and 0 deletions
|
|
@ -71,6 +71,11 @@ run(){
|
|||
$target_exec $target_path/"$@"
|
||||
}
|
||||
|
||||
runecho(){
|
||||
test "${V:-0}" -gt 0 && echo "$target_exec" $target_path/"$@" >&3
|
||||
$target_exec $target_path/"$@" >&3
|
||||
}
|
||||
|
||||
probefmt(){
|
||||
run ffprobe -show_entries format=format_name -print_format default=nw=1:nk=1 -v 0 "$@"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue