Re: test suite fails if sh != bash || tar != GNU tar
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 11, 2007, 21:56 UTC
- Message-ID
- <Pine.LNX.4.64.0707112240120.4516@racer.site>
- In-Reply-To
- <7154c5c60707111433r64ae5109o314778655cbc017e@mail.gmail.com>
Hi,
On Wed, 11 Jul 2007, David Frech wrote:
Show 18 quoted lines
> On 7/11/07, Junio C Hamano <gitster@pobox.com> wrote: > > Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > > >> I'll see what I can do. As I'm planning on running git on both > > >> FreeBSD and DragonFly for the forseeable future, and plan to track > > >> git's evolution (running stable releases if not more bleeding-edge > > >> code), I can run the test suite every time I build a new git. > > > > > > If you want to, I can help you setting up a nightly cron job to > > > fetch what is the current "next", run the tests, and report failures > > > by email. > > > > Wow. Nightly builds of 'next' on various platforms would actually be > > quite useful, especially from non Linux and non bash world. > > I found and fixed the shell issues. Once I've got a "fix" for tar I'll > send a patch. I think the BSD sh has a bug wrt to negating the return > code from a pipeline.
Cool! Please be sure to give Documentation/SubmittingPatches a quick glance before sending, to avoid hassles for the reviewers.
Show 7 quoted lines
> I'd be happy to do a nightly build on my DragonFly box, and that should > catch anything that also doesn't work for FreeBSD. The failure modes > were exactly the same - though the DFly box has an additional > iconv-related problem (with git-mailinfo) that I still haven't tracked > down... > > Is there a canned script to get me started?
Well, I would have started from scratch, as in
5 0 * * * (cd /xx/git && sh test-it.sh)
And in test-it.sh there could be something like
(git pull origin next && make test > test-it.out 2>&1 ) || some-script-that-sends-the-email.sh
> One issue is that my server is on dynamic IP, and my lame ISP (the local > telco) doesn't give me a proper SMTP relay - they want us to send our > mail via HTTP to MSN! Completely lame.
It is lame.
> So sending mail can be an issue, if the receiver blocks mail from > dynamic IPs.
But maybe you can just upload the status somewhere public? Or ssh into a machine which allows you to send an email, with public key authentication?
Ciao, Dscho