Skip Menu |

This queue is for tickets about the Tickit CPAN distribution.

Report information
The Basics
Id: 98754
Status: resolved
Priority: 0/
Queue: Tickit

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.47
Fixed in: 0.48



Subject: Cannot Tickit::Style -copy in TestContainer as there is no source type
Unreliably seems to fail: Cannot Tickit::Style -copy in TestContainer as there is no source type at t/37widget-container-focus.t line 198. BEGIN failed--compilation aborted at t/37widget-container-focus.t line 198. t/37widget-container-focus.t .. Dubious, test returned 2 (wstat 512, 0x200) No subtests run (http://www.cpantesters.org/cpan/report/2873650a-3787-11e4-87cc-02aecc4edbc1) Doesn't seem related to any particular perl version. Unreliable though as I managed to reproduce it a couple of times but currently can't. -- Paul Evans
Actually, it fails if Tickit-Widgets isn't installed; passes if it is. Patch attached. -- Paul Evans
Subject: rt98754.patch
=== modified file 't/37widget-container-focus.t' --- t/37widget-container-focus.t 2014-08-14 17:07:10 +0000 +++ t/37widget-container-focus.t 2014-09-14 12:08:34 +0000 @@ -12,8 +12,10 @@ # Since we need real Windows in the widgets, it's easier just to use an HBox # as a container. However, since HBox is no longer in core, we'll have to skip # this test if it isn't available -eval { require Tickit::Widget::HBox } or - plan skip_all => "Tickit::Widget::HBox is not available"; +BEGIN { + eval { require Tickit::Widget::HBox } or + plan skip_all => "Tickit::Widget::HBox is not available"; +} my ( $term, $win ) = mk_term_and_window;
Released -- Paul Evans