Re: [Numpy-discussion] Error code of NumpyTest()

2007-08-30 Thread Stefan van der Walt
On Thu, Aug 30, 2007 at 12:48:44PM +0300, Pearu Peterson wrote: > The svn version of test() function now returns TestResult object. > > So, test() calls in buildbot should read: > > import numpy,sys; sys.exit(not > numpy.test(verbosity=,level=).wasSuccessful()) > > Hopefully buildbot a

Re: [Numpy-discussion] Error code of NumpyTest()

2007-08-30 Thread Matthieu Brucher
Thank you for the answer The svn version of test() function now returns TestResult object. Numpy 1.3.x does not provide this ? I can't upgrade the numpy packages on the Linux boxes (on the Windows box, I suppose that I could use an Enthought egg). So, test() calls in buildbot should read: >

Re: [Numpy-discussion] Error code of NumpyTest()

2007-08-30 Thread Pearu Peterson
On Fri, August 24, 2007 11:41 am, Matthieu Brucher wrote: > Hi, > > I wondered if there was a way of returning another error code than 0 when > executing the test suite so that a parent process can immediately know if > all the tests passed or not. > The numpy buildbot seems to have the same behavi

[Numpy-discussion] Error code of NumpyTest()

2007-08-24 Thread Matthieu Brucher
Hi, I wondered if there was a way of returning another error code than 0 when executing the test suite so that a parent process can immediately know if all the tests passed or not. The numpy buildbot seems to have the same behaviour BTW. I don't know if it is possible, but it would be great. Matt