octave-maintainers
[Top][All Lists]
Advanced

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

Re: imwrite.m test failures


From: Kai Torben Ohlhus
Subject: Re: imwrite.m test failures
Date: Sun, 6 Oct 2013 22:27:12 +0200

On Sun, Oct 6, 2013 at 7:25 PM, Andreas Weber <address@hidden> wrote:
Am 06.10.2013 16:26, schrieb Kai Torben Ohlhus:

> 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

Hm, this looks to me like the one test for imwrite, which Marco is
interested in, was skipped due to missing feature?

what is the output form
__have_feature__("MAGICK") ?

Can you compare
octave:1> octave_config_info.MAGICK_CPPFLAGS
ans = -I/usr/include/GraphicsMagick
octave:2> octave_config_info.MAGICK_LDFLAGS
ans =
octave:3> octave_config_info.MAGICK_LIBS
ans = -lGraphicsMagick++ -lGraphicsMagick

Regards, Andy

Yes indeed, I haven't had GraphicsMagick installed. Now I installed "libgraphicsmagick++1-dev 1.3.16-1.1ubuntu1" from my distribution and recompiled.

config.log
Magick++ CPPFLAGS:           -I/usr/include/GraphicsMagick  
Magick++ LDFLAGS:             
Magick++ libraries:          -lGraphicsMagick++ -lGraphicsMagick 

New test run:

>> test imwrite
PASSES 10 out of 10 tests

Still everything is fine for me.

Kai

reply via email to

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