Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-13 20:16:44 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-05-15 03:43:29 +0400
commit7efe83996c02341aed6a28f43396a478979ce1bf (patch)
treeeca7c0e2db514f52f2068396985974710db5f9d0 /tests/fate-run.sh
parent56193d33be93669f948ccd68ea2451fb24b91245 (diff)
tests/fate-run: add runecho command to run a test and display its output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 35d79a6b71..74f4525b9e 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -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 "$@"
}