[Pkg-octave-devel] [RFU] octave-sockets 1.0.7-2 [was: Re: Open ToDos for Wheezy]

Rafael Laboissiere rafael at laboissiere.net
Thu Jun 21 06:11:11 UTC 2012


* Thomas Weber <tweber at debian.org> [2012-06-20 21:22]:

> On Wed, Jun 20, 2012 at 01:45:40PM +0200, Paul Dreik wrote:
> > I agree there has not been any real development, but it is still useful.
> > I do not see the problem, as the package works as intended as far as I
> > know.
> 
> The problem here is the word "know". There are two ways to get some
> assurance that a package works (at least somewhat):
> 
> 	1) You use it routinely.
> 	2) It comes with tests.
> 
> I (and probably nobody else on this list) use the sockets package, so 1)
> is out. And for 2), somebody needs to step up and convert the existing
> tests into something that can be run at build time (the easiest way is
> probably to convert the tests into using Octave's test harness).
> 
> I left out option 3) which goes along the lines of "just upload it and
> give a damn about the rest", which seems to be quite popular elsewhere.
> 
> So, I don't mind re-introducing the package, but please: convert the
> tests first so that there is at least some chance that errors are
> caught.

Okay, the version currently in Git should be okay as regards the tests.
Actually, there was already a debian/check.m file that tried to exercise
the tests shipped with the package (src/test_socket and
src/test_octave_sockets).  However, I had to fix the code in order to
have the tests running correctly.  FYI, I am enclosing the results below,
after my signature.

I do not remember the good practice in this case.  The octave-sockets
packages exists only in stable right now and perhaps it will go into the
NEW queue after being uploaded to sid.  If this is really the case,
perhaps we need to file an ITP.  Any clues?

Rafael

#############################################################################
[test_octave_sockets]
Number of failures: 0
[test_socket]
 Columns 1 through 6:

   0.9181060   0.8658870   0.0879064   0.8996290   0.9207970   0.6264440
   0.7315860   0.1800660   0.8875040   0.3274440   0.0058273   0.1346550
   0.4328580   0.4235880   0.9680580   0.7534280   0.4015980   0.0076970
   0.2392940   0.8748900   0.9557330   0.2563290   0.3581030   0.5056440
   0.2809960   0.1587450   0.1163210   0.5766150   0.1991830   0.5161330
   0.7591100   0.8587670   0.1564460   0.5946160   0.7506840   0.0734317
   0.5325330   0.5360590   0.1478670   0.4093730   0.8085110   0.6705780
   0.3854060   0.1889060   0.7670530   0.1156200   0.6137300   0.7561840
   0.1776450   0.2100610   0.1886690   0.0914367   0.0997127   0.1234930
   0.9175710   0.8648980   0.3870300   0.5509000   0.9826290   0.8800430

 Columns 7 through 10:

   0.2433190   0.9435650   0.9776390   0.7607350
   0.0090104   0.6855190   0.3784620   0.3946720
   0.0429888   0.4687330   0.3993770   0.1945660
   0.5307740   0.7119470   0.8674830   0.1091900
   0.5128690   0.1032570   0.9740760   0.1645280
   0.8859150   0.1653250   0.4462520   0.5480960
   0.0426395   0.0588294   0.9152610   0.1169550
   0.3806610   0.4442070   0.8973780   0.8904920
   0.5123140   0.8833320   0.8700790   0.2392040
   0.8095720   0.1951860   0.3298000   0.6649720
#############################################################################




More information about the Pkg-octave-devel mailing list