Page 1 of 1

x11/read.t and x11/write.t failing (6.3.6-7 is almost good)

Posted: 2007-11-04T14:15:05-07:00
by mi
The newly-released 6.3.6-7 builds fine, and passes most of the self-tests.

Except for the two failures in t/x11/read.t and t/x11/write.t.

Running the tests individually does not say much:

Code: Select all

mi@aldan:work/ImageMagick-6.3.6/PerlMagick (1324) perl t/x11/read.t 
1..2
Cd failed at t/x11/read.t line 15.
mi@aldan:work/ImageMagick-6.3.6/PerlMagick (1325) perl t/x11/write.t
1..2
Cd failed at t/x11/write.t line 15.
I guess, the line 15 in both of the tests should be changed as:

Code: Select all

-chdir 't/x' || die 'Cd failed';
+chdir 't/x11' || die 'Cd failed';
but this was not a problem before...

When will ImageMagick crew start running the tests before making new releases?

If you do modify these scripts, you may wish to ensure, they are properly ignored in the case the --without-x flag was given to configure or $DISPLAY is not set.

Re: x11/read.t and x11/write.t failing (6.3.6-7 is almost good)

Posted: 2007-11-04T15:46:38-07:00
by magick
Patch for this problem in ImageMagick 6.3.6-8 available sometime tomorrow.

Re: x11/read.t and x11/write.t failing (6.3.6-7 is almost good)

Posted: 2007-11-04T16:12:14-07:00
by mi
magick wrote:Patch for this problem in ImageMagick 6.3.6-8 available sometime tomorrow.
Please do keep this promise. FreeBSD is currently preparing for the 6.3 (stable) and the 7.0 (development) releases. It would be good to have the most recent and reliable version of ImageMagick in both of them.

Re: x11/read.t and x11/write.t failing (6.3.6-7 is almost good)

Posted: 2007-11-05T07:09:49-07:00
by mi
magick wrote:Patch for this problem in ImageMagick 6.3.6-8 available sometime tomorrow.
Ok, the t/x11/read works in 6.3.6-8. Unfortunately, t/x11/write only works, when DISPLAY is set correctly:

Code: Select all

...
t/x11/write.......dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
When run directly, it seems to forget to say "ok":

Code: Select all

mi@aldan:ports/graphics/ImageMagick (1043) cd work/ImageMagick-6.3.6/PerlMagick/
mi@aldan:work/ImageMagick-6.3.6/PerlMagick (1044) perl t/x11/write.t 
1..2

Re: x11/read.t and x11/write.t failing (6.3.6-7 is almost good)

Posted: 2007-11-05T08:09:18-07:00
by magick
An unavailable X11 server is no longer fatal so the PerlMagick regression test will complete if DISPLAY not set. The patch is available in ImageMagick 6.3.6-9 available sometime tomorrow. Thanks.