Skip Menu |

This queue is for tickets about the Prima CPAN distribution.

Report information
The Basics
Id: 71059
Status: resolved
Priority: 0/
Queue: Prima

People
Owner: Nobody in particular
Requestors: DCMERTENS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.31_1
Fixed in: 1.44



Subject: Failed tests
Round 2: I have found a few failing tests, both on Ubuntu 11.04 and on Mac. First, Mac. To ensure that everything was using the latest library, even for the drill-down tests, I made and then installed the latest git. Then I ran make test: --------%<-------- $ make test PERL_DL_NONLAZY=1 /Users/davidmertens/perl5/perlbrew/perls/perl-5.14.1/bin/perl "- Iblib/lib" "-Iblib/arch" test.pl Testing ./test/Object/Object...passed Testing ./test/Object/Component...passed Testing ./test/Object/GP...passed Testing ./test/Object/GPState...passed Testing ./test/Object/GPExtra...passed Testing ./test/Object/Fonts...failed (1/7) Testing ./test/Object/Application...failed (1/3) Testing ./test/Object/Timer...passed Testing ./test/Object/Unicode...passed Testing ./test/Object/Clipboard...failed (1/6) Testing ./test/Image/Basic...passed Testing ./test/Image/Codec...passed Testing ./test/Image/Stream...passed Testing ./test/Image/ROP...passed Testing ./test/Image/Colormap...passed Testing ./test/Image/Import...passed Testing ./test/Widget/Basic...passed Testing ./test/Widget/Paint...passed Testing ./test/Widget/Size...passed Testing ./test/Widget/Move...passed Testing ./test/Widget/Mouse...passed Testing ./test/Widget/Map...passed Testing ./test/Widget/leshed...passed Testing ./test/Widget/Lock...passed Testing ./test/Widget/Window...passed Testing ./test/Widget/Desktop...passed Testing ./test/Widget/SizeLimits...passed Testing ./test/Widget/Key...passed Testing ./test/Widget/ZOrder...passed Testing ./test/Widget/Position...passed Total tests passed:27, skipped:0, failed:3 -------->%-------- Now the drill-downs (Note: the drill-downs do not appear to run with 'use blib' or similar, so that's why I had to *install* the version that I wanted to test, unless I misunderstand the test system.) --------%<-------- $ perl test/Tester.pl -v Fonts.t Application.t Clipboard.t Testing ./test/Object/Fonts... test 1:passed (height) test 2:failed (width) test 3:passed (size) test 4:passed (direction) test 5:passed (pitch) test 6:passed (style) test 7:passed (text_wrap) Testing ./test/Object/Application... test 8:passed (gp_init) test 9:failed (pixel) test 10:passed (forbidden actions) Testing ./test/Object/Clipboard... test 11:passed (alive) test 12:passed (predefined formats) test 13:passed (text) test 14:passed (image) test 15:passed (user-defined format) test 16:failed (clear) Atomic tests passed:13, skipped:0, failed:3 -------->%-------- The ubuntu tests will follow shortly.
Now from the Ubuntu side: --------%<-------- $ make test PERL_DL_NONLAZY=1 /home/david/perl5/perlbrew/perls/perl-5.14.1/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl Testing ./test/Object/Object...passed Testing ./test/Object/Component...passed Testing ./test/Object/GP...passed Testing ./test/Object/GPState...passed Testing ./test/Object/GPExtra...passed Testing ./test/Object/Fonts...passed Testing ./test/Object/Timer...passed Testing ./test/Object/Unicode...passed Testing ./test/Object/Clipboard...passed Testing ./test/Object/Application...passed Testing ./test/Image/Basic...passed Testing ./test/Image/Codec...passed Testing ./test/Image/Stream...passed Testing ./test/Image/ROP...passed Testing ./test/Image/Colormap...passed Testing ./test/Image/Import...passed Testing ./test/Widget/Basic...passed Testing ./test/Widget/Paint...passed Testing ./test/Widget/Desktop...passed Testing ./test/Widget/Move...passed Testing ./test/Widget/Size...passed Testing ./test/Widget/Mouse...passed Testing ./test/Widget/Map...passed Testing ./test/Widget/Key...passed Testing ./test/Widget/SizeLimits...passed Testing ./test/Widget/leshed...passed Testing ./test/Widget/ZOrder...passed Testing ./test/Widget/Lock...passed Testing ./test/Widget/Position...failed (2/7) Testing ./test/Widget/Window...passed Total tests passed:29, skipped:0, failed:1 -------->%-------- Now for the drill down: --------%<-------- $ perl test/Tester.pl -v Position.t Testing ./test/Widget/Position... test 1:passed (create) test 2:passed (runtime) test 3:passed (horizontal) test 4:passed (vertical) test 5:passed (hidden) test 6:passed (event) test 7:passed (reparent) Atomic tests passed:7, skipped:0, failed:0 Total tests passed:1, skipped:0, failed:0 -------->%-------- That's right, all the Position.t tests pass when specifically run (as opposed to being run with make test). I will be happy to supply more details if you need them.
Hi David, First of all, thanks for the reports. However, it's not that bad as it sounds - not all Prima tests indicate bugs, some are known (to be fair, to me only :) not working under certain circumstances - such as some particularly bad font, or a very special window manager, etc. That said, Font.t and Position.t are negligible, I know about them, won't fix. Application.t is more interesting - I've seen it on Mac, and the problem seems to be in the way X is implemented there, Mac doesn't allow an X11 application to draw directly on screen - I would fix that, but have no idea how. Finally, Clipboard.t is the one that I'd say is serious. However, I cannot reproduce it on Mac.
Hi David, Prima test systems has been reworked so that each test runs as an individual process. Could you possibly check it out again if that helps with identification of whatever problems there are on Mac? /dk
Hi David, Prima test systems has been reworked so that each test runs as an individual process. Could you possibly check it out again if that helps with identification of whatever problems there are on Mac? /dk
I assume the problem is there no more; at least on my Mac emulator there's nothing I can reproduce.