Thread (8 messages) flat view 8 messages, 5 authors, 2016-06-15

Re: test suite fails if sh != bash || tar != GNU tar

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:20

Hi,

On Wed, 11 Jul 2007, David Frech wrote:
On 7/11/07, Junio C Hamano [off-list ref] wrote:
quoted
Johannes Schindelin [off-list ref] writes:
quoted
quoted
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.
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help