[FFmpeg-devel] [PATCH] tools/bisect-create: Support "bisect run"

Alexander Strasser eclipse7 at gmx.net
Mon Jul 23 00:50:48 CEST 2012


  Make it possible to use the run bisect sub command. As with all
other ffbisect commands, revisions that do not contain the needed
tools are skipped.

Signed-off-by: Alexander Strasser <eclipse7 at gmx.net>
---
 tools/bisect-create | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/bisect-create b/tools/bisect-create
index 6442b5c..fc60e86 100755
--- a/tools/bisect-create
+++ b/tools/bisect-create
@@ -39,4 +39,8 @@ case "$1" in
             git bisect skip || break
         done
     ;;
+    run)
+       shift # remove "run" from arguments
+       git bisect run sh -c "ls \`cat tools/bisect.need\` > /dev/null 2> /dev/null || exit 125; \"\$@\"" sh "$@"
+    ;;
 esac
-- 
1.7.10.2.552.gaa3bb87


More information about the ffmpeg-devel mailing list