[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: imwrite.m test failures
From: |
Andreas Weber |
Subject: |
Re: imwrite.m test failures |
Date: |
Sun, 06 Oct 2013 19:25:35 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9 |
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