Re: Exit status ignored by the snakefarm?
Anders Qvist <[email protected]> Wed, 24 Jul 2002 22:04:18 +0200
| Newsgroups | gmane.comp.python.snake-farm.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 24, 2002 at 06:51:51PM +0200, M.-A. Lemburg wrote: > Anders Qvist wrote: > >On Wed, Jul 24, 2002 at 05:33:33PM +0200, M.-A. Lemburg wrote: > >>>>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. > > Point taken. Just thought it would make the build script development > a little easier for you. It would. The script parsing the farm-reports into a daily summary will be in python. > Perhaps you could use an older version such as Python 1.4 or > 1.5.2 for the build process ? You wouldn't need things like > sockets which usually cause most of the trouble, so there's > a chance... Later on, we might want to change to Python, when a sufficent number of platforms have built successfully. -- 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