LWN.net Logo

Fully automated bisecting with "git bisect run"

Fully automated bisecting with "git bisect run"

Posted Feb 5, 2009 7:44 UTC (Thu) by dlang (✭ supporter ✭, #313)
In reply to: Fully automated bisecting with "git bisect run" by ncm
Parent article: Fully automated bisecting with "git bisect run"

note that to cause problems the buggy intermediate versions need to be buggy in a way that your test script can't tell from the failure you are looking for.

how big a problem this is depends on what your failure condition is.

if you know that when it fails it generates message X then you just look for message X and mark everything else as 'good' (it may actually crash and not do anything useful, but it's not the bug you are looking for)

if you are looking for a hang (or failure to boot like Ingo did in one example) then it's harder, you may end up going down the wrong path becouse some other bug is causing the problem (failing to boot in this example)


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds