Skip to content

Tk804.036 widget.t test is failing with Strawberry Perl 5.4 #259

@alanoflanagan

Description

@alanoflanagan

When testing the Tk module with Strawberry Perl I am running into a test failure.
I have applied the recommended path to the module and it now builds fine but there is one test failure.

I built it using it because the normal Tk is has a problem when building Tk .
cpanm https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/patched_cpan_modules/Tk-804.036_001.tar.gz

\widget.t ................... 1/19
#   Failed test '$mw->pathname works'
#   at t\widget.t line 49.
#          got: 'window id "2820854" doesn't exist in this application at blib\lib\Tk\Widget.pm (autosplit into blib\lib\auto\Tk\Widget\pathname.al) line 1581.
# '
#     expected: ''

#   Failed test 'Pathname and pathname agree'
#   at t\widget.t line 50.
#          got: undef
#     expected: '.label'
# Looks like you failed 2 tests of 19.
t\widget.t ................... Dubious, test returned 2 (wstat 512, 0x200)

Has anyone seen this before or is it something that can be easily fixed because I don't want to force install without being sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions