script to automate binary search for regression

Phil Edwards phil@jaj.com
Mon Dec 16 18:53:00 GMT 2002


On Mon, Dec 16, 2002 at 09:23:50AM -0800, Janis Johnson wrote:
> The length of the script is mostly due to comments and lots of error
> checking.  I've tested it fairly thoroughly.  If you find this helpful,
> let me know and I'll ask about adding it to contrib.

Yes, please.  This is very useful.  We should probably also check in an
initial "config file", and some simple skeleton scripts for the cvs calls.
And yes, by "we" I mean I'll help once this one's checked in.  :-)

> #! /bin/sh

Since the "let" builtin is a POSIX thing, and it's been made woefully clear
that GCC can't depend on /bin/sh actually being POSIX, this script should
either a) document that fact, or b) just use a different shell.


Phil

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002



More information about the Gcc mailing list