Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
7efe83996c
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      tests/fate-run.sh

+ 5
- 0
tests/fate-run.sh View File

@@ -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…
Cancel
Save