Re: Exit status ignored by the snakefarm?
Anders Qvist <[email protected]> Wed, 24 Jul 2002 17:58:13 +0200
| Newsgroups | gmane.comp.python.snake-farm.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 24, 2002 at 05:33:33PM +0200, M.-A. Lemburg wrote: > Anders Qvist wrote: > >On Tue, Jul 23, 2002 at 10:50:38AM +0200, Per Cederqvist wrote: > > > >><[email protected]> writes: > >> > >> > >>>Build test succeded. Any warnings are appended below. > >>>-- > >>> > >> > >>Hmm. I kill a couple of python processes, and the snake farm reports > >>success? Something doesn't take care of the exit status the way it > >>should. > > > > > >Catching the exit status is difficult from make in this line > >(buildit.sh, 146): > > > > (make $target 9>&1 1>&2 2>&9 | tee $makeerrlog) > $makelog 2>&1 > > Just curious: why don't you write the build code in Python ? > > It's really easy to setup things like this by using the popen2 > module. If the build scripts were in Python, they wouldn't run where Python don't. Eg Python don't easily compile on UNICOS. By being able to try to build Python, we can wait for patches in CVS to result in a working build. -- Anders "Quest" Qvist "We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Robert Wilensky