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

Michael Niedermayer git at videolan.org
Thu May 15 01:50:08 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue May 13 18:16:44 2014 +0200| [7efe83996c02341aed6a28f43396a478979ce1bf] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7efe83996c02341aed6a28f43396a478979ce1bf
---

 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 "$@"
 }



More information about the ffmpeg-cvslog mailing list