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

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
mi
Posts: 123
Joined: 2005-01-25T14:14:43-07:00
Contact:

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

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick »

Patch for this problem in ImageMagick 6.3.6-8 available sometime tomorrow.
User avatar
mi
Posts: 123
Joined: 2005-01-25T14:14:43-07:00
Contact:

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

Post 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.
User avatar
mi
Posts: 123
Joined: 2005-01-25T14:14:43-07:00
Contact:

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

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
Post Reply