Re: autubuild failures in lxp

Thatcher Ulrich <[email protected]> Thu, 25 Mar 2004 16:51:35 -0500
Newsgroups gmane.comp.lang.lua.luacheia
Message-ID <[email protected]>
On Mar 25, 2004 at 08:30 +0100, Martin Spernau wrote:
> 
> now I'm sure there's a way to 'test' this packaging & building locally?

Yes, there's a bash script in the root of the distro,
"test_build_luacheia.sh".  It does the whole auto test, soup to nuts:
determine current platform, make test directories (~/lc_test_cvs and
~/lc_test_dist), check out the whole tree from CVS into lc_test_cvs,
make a tarball, unpack the tarball in the lc_test_dist directory, do a
full ./configure && make, and run the self-tests.

It takes a while :)

It makes a file ~/lc_test_cvs/platform/report.txt with the results.
It also tries to email the results to the luacheia-commit list, by
ssh'ing to the SF compile-farm shell server, which may or may not work
depending on whether you have configured access to that server.
Anyway, that's not necessary; you can always just inspect the
report.txt.  Personally, if it's a small change and I think it has a
decent chance of succeeding, I often just wait for the nightly build
results.

There are some other scripts in there that are less comprehensive, but
I don't use them anymore so I'm not sure if they still work.

-- 
Thatcher Ulrich
http://tulrich.com


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click