[fdo-internals] Build scripts exit code
greg.boone at autodesk.com
Mon May 5 10:20:59 EDT 2008
Handling error codes correctly sounds ok with me.
From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Mateusz Loskot
Sent: Friday, May 02, 2008 11:26 PM
To: fdo-internals at lists.osgeo.org
Subject: [fdo-internals] Build scripts exit code
I've almost finished configuring the FDO buildbot
and one of the last issues I'm trying to solve is that build_linux.sh
script(sh) eats the actual exit code returned from ./configure, make,
make install etc. commands.
IOW, the build script always exits with successful Zero :-)
This is a problem for buildbot because the bot relies on commands exit
code and depending on it reports steps as success or failure.
Do you mind if we fix the build_linux.sh script(s) to exit on failure of
a command being executed and return real exit code?
Now if, for instance, build_linux.sh calls ./configure and it fails,
execution moves to make; if make fails, execution moves to the next
command, etc. IMO if previous command exists with failure, subsequent
command should not be executed.
fdo-internals mailing list
fdo-internals at lists.osgeo.org
More information about the fdo-internals