[fdo-internals] Build scripts exit code
Mateusz Loskot
mateusz at loskot.net
Fri May 2 23:26:26 EDT 2008
Hi,
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.
Greetings
--
Mateusz Loskot
http://mateusz.loskot.net
More information about the fdo-internals
mailing list