Commit c673a90b authored by Michael Niedermayer's avatar Michael Niedermayer

tools: add bisect script

This script works like "git bisect" except that you can
specify with "bisect need ffmpeg|ffplay|ffserver|ffprobe" which tool(s)
are needed for testing a checkout
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c9de83fe
#!/bin/sh
set -e
case "$1" in
need)
case $2 in
ffmpeg|ffplay|ffprobe|ffserver)
echo $2.c >> need
;;
esac
;;
start|reset)
echo . > need
git bisect $*
;;
skip)
git bisect $*
;;
good|bad)
git bisect $*
until ls `cat need` > /dev/null 2> /dev/null; do
git bisect skip || break
done
;;
esac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment