Spreadsheet-Read icon indicating copy to clipboard operation
Spreadsheet-Read copied to clipboard

test 10_basics.t fail

Open rosorio opened this issue 10 months ago • 2 comments

Hi, Running Spreadsheet-Read 0.93 tests on FreeBSD returns the following error:

#   Failed test 'no warnings'
#   at /usr/local/lib/perl5/5.36/Test/Builder.pm line 193.
# There were 4 warning(s)
#     Previous test 115 'Illegal ReadData ({ HASH(0x11ccf33f2e58) })'
#     Use of uninitialized value in string eq at /wrkdirs/usr/ports/textproc/p5-Spreadsheet-Read/work/Spreadsheet-Read-0.93/blib/lib/Spreadsheet/Read.pm line 246.
#  at /wrkdirs/usr/ports/textproc/p5-Spreadsheet-Read/work/Spreadsheet-Read-0.93/blib/lib/Spreadsheet/Read.pm line 246.
#       Spreadsheet::Read::parsers("Spreadsheet::Read") called at t/10_basics.t line 115
#
# ----------
#     Previous test 115 'Illegal ReadData ({ HASH(0x11ccf33f2e58) })'
#     Use of uninitialized value in string eq at /wrkdirs/usr/ports/textproc/p5-Spreadsheet-Read/work/Spreadsheet-Read-0.93/blib/lib/Spreadsheet/Read.pm line 246.
#  at /wrkdirs/usr/ports/textproc/p5-Spreadsheet-Read/work/Spreadsheet-Read-0.93/blib/lib/Spreadsheet/Read.pm line 246.
#       Spreadsheet::Read::parsers("Spreadsheet::Read") called at t/10_basics.t line 115
#
# ----------
#     Previous test 115 'Illegal ReadData ({ HASH(0x11ccf33f2e58) })'
#     Use of uninitialized value in string eq at /wrkdirs/usr/ports/textproc/p5-Spreadsheet-Read/work/Spreadsheet-Read-0.93/blib/lib/Spreadsheet/Read.pm line 246.
#  at /wrkdirs/usr/ports/textproc/p5-Spreadsheet-Read/work/Spreadsheet-Read-0.93/blib/lib/Spreadsheet/Read.pm line 246.
#       Spreadsheet::Read::parsers("Spreadsheet::Read") called at t/10_basics.t line 115
#
# ----------
#     Previous test 115 'Illegal ReadData ({ HASH(0x11ccf33f2e58) })'
#     Use of uninitialized value in string eq at /wrkdirs/usr/ports/textproc/p5-Spreadsheet-Read/work/Spreadsheet-Read-0.93/blib/lib/Spreadsheet/Read.pm line 246.
#  at /wrkdirs/usr/ports/textproc/p5-Spreadsheet-Read/work/Spreadsheet-Read-0.93/blib/lib/Spreadsheet/Read.pm line 246.
#       Spreadsheet::Read::parsers("Spreadsheet::Read") called at t/10_basics.t line 115
#
# Looks like you failed 1 test of 118.

Unfortunately I don't have enough experience with Perl test framework. I attach the full test output:

test_fail.txt

rosorio avatar Mar 19 '25 16:03 rosorio

Hmm, that fail is not a blocker (see all passing tests): it tests if the list of what Spreadsheet::Read detected to be usable parsers works I will have to acquire FreeBSD access in order to try to reproduce

Tux avatar Mar 19 '25 17:03 Tux

I now have a FreeBSD-14.2 running in VirtualBox, and Spreadsheet::Read installed without any issue

Tux avatar Mar 20 '25 15:03 Tux