[FFmpeg-devel] [PATCH 1/2] tests/fate-run: add runecho command to run a test and display its output
Michael Niedermayer
michaelni at gmx.at
Tue May 13 18:36:49 CEST 2014
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
tests/fate-run.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 35d79a6..74f4525 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 "$@"
}
--
1.7.9.5
More information about the ffmpeg-devel
mailing list