Skip Menu |

This queue is for tickets about the Test-OnlySome CPAN distribution.

Report information
The Basics
Id: 128027
Status: open
Worked: 5 min
Priority: 0/
Queue: Test-OnlySome

People
Owner: CXW [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.001001-TRIAL
Fixed in: (no value)



Subject: Increase minimum perl version?
It seems that the test suite fails with 5.14.x, so the minimum perl version should either be increased (or the test or code adapted for 5.14.x). Part of the test log: ... String found where operator expected at t/23-test-kit.t line 17, near "os 't23::t1'" (Do you need to predeclare os?) Scalar found where operator expected at t/23-test-kit.t line 17, near "'t23::t1' $hrOpts" (Missing operator before $hrOpts?) "my" variable $t1 masks earlier declaration in same scope at t/23-test-kit.t line 18. String found where operator expected at t/23-test-kit.t line 20, near "os 't23::t2'" (Do you need to predeclare os?) Scalar found where operator expected at t/23-test-kit.t line 20, near "'t23::t2' $hrOpts" (Missing operator before $hrOpts?) syntax error at t/23-test-kit.t line 17, near "os 't23::t1'" syntax error at t/23-test-kit.t line 20, near "os 't23::t2'" Global symbol "%hrOpts" requires explicit package name at t/23-test-kit.t line 20. syntax error at t/23-test-kit.t line 20, near ";}" BEGIN not safe after errors--compilation aborted at t/23-test-kit.t line 26. t/23-test-kit.t .......................... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run ...
Slaven, thanks for the feedback! It is a good point, and one I have been thinking about. - The failures occur when loading Test::OnlySome using Test::Kit. My fallback plan is to leave the minimum Perl version where it is but discontinue support for (and tests using) Test::Kit on 5.14.4. - An earlier version succeeded on 5.14.4 Linux - http://www.cpantesters.org/cpan/report/6ec928dc-f001-11e8-a63d-f73d0705ce23 . That version did not use Test::Kit. - Test::Kit itself works on some 5.14.4s but not others - http://matrix.cpantesters.org/?dist=Test-Kit . I am looking into that as well (https://github.com/kaoru/Test-Kit2/issues/2). Chris On Sat Dec 15 08:18:38 2018, SREZIC wrote: Show quoted text
> It seems that the test suite fails with 5.14.x, so the minimum perl > version should either be increased (or the test or code adapted for > 5.14.x). Part of the test log: > > ... > String found where operator expected at t/23-test-kit.t line 17, near > "os 't23::t1'" > (Do you need to predeclare os?) > Scalar found where operator expected at t/23-test-kit.t line 17, near > "'t23::t1' $hrOpts" > (Missing operator before $hrOpts?) > "my" variable $t1 masks earlier declaration in same scope at t/23- > test-kit.t line 18. > String found where operator expected at t/23-test-kit.t line 20, near > "os 't23::t2'" > (Do you need to predeclare os?) > Scalar found where operator expected at t/23-test-kit.t line 20, near > "'t23::t2' $hrOpts" > (Missing operator before $hrOpts?) > syntax error at t/23-test-kit.t line 17, near "os 't23::t1'" > syntax error at t/23-test-kit.t line 20, near "os 't23::t2'" > Global symbol "%hrOpts" requires explicit package name at t/23-test- > kit.t line 20. > syntax error at t/23-test-kit.t line 20, near ";}" > BEGIN not safe after errors--compilation aborted at t/23-test-kit.t > line 26. > t/23-test-kit.t .......................... > Dubious, test returned 255 (wstat 65280, 0xff00) > No subtests run > ...