octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: octave-image tests


From: Orion Poplawski
Subject: Re: octave-image tests
Date: Thu, 30 Jul 2015 16:50:27 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

On 07/30/2015 04:33 PM, Carnë Draug wrote:
> On 30 July 2015 at 22:50, Orion Poplawski <address@hidden> wrote:
>> So I managed to compile octave-image without too much trouble using the gcc
>> 4.9.2 compiler provided by the devtoolset-3 SCL.  However, I'm a little
>> worried about having octave and octave-image compiled with different
>> compilers.  Is there a test-suite for the image package that I could run?
>>
>> Thanks,
>>   Orion
> 
> You can do the following:
> 
>   pkg load image;
>   runtests (path_to_the_inst_directory_inside_the_released_tarball)
>   runtests (path_to_the_src_directory_inside_the_released_tarball)
> 
> Unfortunately, not all functions have tests.
> 
> Carnë
> 

I did:

>> runtests('/usr/share/octave/packages/image-2.4.0');
Processing files in /usr/share/octave/packages/image-2.4.0:

  applylut.m ............................................. PASS    3/3
  bestblk.m .............................................. PASS   12/12
  blockproc.m ............................................ PASS   12/12
  bwareafilt.m ........................................... PASS    8/8
  bweuler.m .............................................. PASS    2/2
  bwmorph.m .............................................. PASS   11/13FAIL 2
  bwperim.m .............................................. PASS   11/11
  col2im.m ............................................... PASS   15/15
  colfilt.m .............................................. PASS    1/1
  cp2tform.m ............................................. PASS    6/7FAIL 1
  edgetaper.m ............................................ PASS    2/2
  fftconv2.m ............................................. PASS    1/2FAIL 1
  fftconvn.m ............................................. PASS   11/11
  findbounds.m ........................................... PASS    1/1
  fspecial.m ............................................. PASS    2/2
  getrangefromclass.m .................................... PASS    7/7
  grayslice.m ............................................ PASS    8/8
  graythresh.m ........................................... PASS    9/9
  histeq.m ............................................... PASS    7/22FAIL 15
  im2bw.m ................................................warning: im2bw:IMG
is already binary so nothing is done
warning: im2bw: IMG is already binary so nothing is done
warning: im2bw: IMG is already binary so nothing is done
 PASS    5/5
  im2col.m ............................................... PASS   28/28
  im2double.m ............................................ PASS   12/12
  im2int16.m ............................................. PASS    9/9
  im2single.m ............................................ PASS   12/12
  im2uint16.m ............................................ PASS   16/16
  im2uint8.m ............................................. PASS   17/17
  imabsdiff.m ............................................ PASS    6/6
  imadd.m ................................................ PASS    6/6
  imadjust.m ............................................. PASS   26/26
  imattributes.m .........................................warning: your
version of GraphicsMagick limits images to 8 bits per pixel
libGL error: failed to load driver: swrast
 PASS    4/5    FAIL 1
  imbothat.m ............................................. PASS    8/8
  imcast.m ............................................... PASS    9/9
  imclearborder.m ........................................ PASS    2/2
  imclose.m .............................................. PASS    5/5
  imcomplement.m ......................................... PASS   14/14
  imcrop.m ............................................... PASS    6/6
  imdivide.m ............................................. PASS    6/6
  imgradient.m ........................................... PASS    1/1
  imgradientxy.m ......................................... PASS    1/1
  imhist.m ............................................... PASS    5/5
  imlincomb.m ............................................ PASS    2/2
  immse.m ................................................ PASS    6/6
  immultiply.m ........................................... PASS    5/5
  imnoise.m .............................................. PASS    7/7
  imopen.m ............................................... PASS    5/5
  impixel.m .............................................. PASS    9/9
  imregionalmax.m ........................................ PASS    1/1
  imregionalmin.m ........................................ PASS    2/2
  imresize.m ............................................. PASS    1/5FAIL 4
  imrotate.m ............................................. PASS    1/1
  imsmooth.m ............................................. PASS    1/1
  imsubtract.m ...........................................warning: input
images are unsigned integers but requested output is signed integer. This may
lead to unexpected results.
 PASS    8/8
  imtophat.m ............................................. PASS    8/8
  imtransform.m .......................................... PASS    4/4
  intlut.m ............................................... PASS   11/11
  iptcheckmap.m .......................................... PASS    2/2
  iptnum2ordinal.m ....................................... PASS    7/7
  isbw.m ................................................. PASS    1/1
  isgray.m ............................................... PASS    7/7
  isind.m ................................................ PASS   10/10
  isrgb.m ................................................ PASS    9/9
  label2rgb.m ............................................ PASS    9/9
  makelut.m .............................................. PASS    5/5
  mat2gray.m ............................................. PASS    6/6
  medfilt2.m ............................................. PASS    7/7
  nlfilter.m ............................................. PASS    9/9
  normxcorr2.m ........................................... PASS    8/8
  ordfiltn.m ............................................. PASS    8/8
  otf2psf.m .............................................. PASS   17/17
  padarray.m ............................................. PASS   26/26
  poly2mask.m ............................................ PASS    7/7
  psf2otf.m .............................................. PASS   14/14
  qtdecomp.m ............................................. PASS   11/11
  qtgetblk.m ............................................. PASS    3/3
  qtsetblk.m ............................................. PASS    3/3
  radon.m ................................................ PASS    1/1
  regionprops.m .......................................... PASS   13/13
  rgb2gray.m ............................................. PASS    1/1
  rgb2ycbcr.m ............................................ PASS    2/2
  roicolor.m ............................................. PASS    3/3
  stretchlim.m ........................................... PASS   17/17
  ycbcr2rgb.m ............................................ PASS    1/1

Which seems to be the same that I get on Fedora rawhide, except for the
addition of the fftconv2.m failures, so there doesn't seem to be an issue with
using the different compiler.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       address@hidden
Boulder, CO 80301                   http://www.nwra.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]