octave-maintainers
[Top][All Lists]
Advanced

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

Re: imwrite.m test failures


From: marco atzeri
Subject: Re: imwrite.m test failures
Date: Sun, 06 Oct 2013 17:37:37 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0

Il 10/6/2013 4:26 PM, Kai Torben Ohlhus ha scritto:
On Thu, Oct 3, 2013 at 9:46 PM, marco atzeri

    testing latest devel
    (changeset:   17540:b7aa1d726bcc)

    anyone seeing the same ?

     >>>>> processing /pub/hg/octave/scripts/image/__imwrite.m
       ***** testif HAVE_MAGICK
      imw = randi (255, 100, "uint8");
      filename = [tmpnam() ".png"];
      unwind_protect
        imwrite (imw, filename);
        imr = imread (filename);
      unwind_protect_cleanup
        unlink (filename);
      end_unwind_protect
      assert (imw, imr)
    !!!!! test failed
    ASSERT errors for:  assert (imw,imr)

       Location  |  Observed  |  Expected  |  Reason
        (1,1)         104          103        Abs err 1 exceeds tol 0
        (2,1)         184          183        Abs err 1 exceeds tol 0
    ..
       (99,100)        96           95        Abs err 1 exceeds tol 0
      (100,100)       126          125        Abs err 1 exceeds tol 0
     >>>>> processing /pub/hg/octave/scripts/image/__ind2gray.m



For me it works fine (changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/7af442c326a8) Ubuntu 13.04.

 >> test imwrite
   ***** testif HAVE_MAGICK
  imw = randi (255, 100, "uint8");
  filename = [tmpnam() ".png"];
  unwind_protect
    imwrite (imw, filename);
    imr = imread (filename);
  unwind_protect_cleanup
    unlink (filename);
  end_unwind_protect
  assert (imw, imr)
----- skipped test

PASSES 9 out of 9 tests
Skipped 1 test due to missing features

Kai

strange, is your built linked to
GraphicsMagick or ImageMagick ?

On my cygwin
GraphicsMagick                           1.3.18


Regards
Marco




reply via email to

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