Skip Menu |

This queue is for tickets about the JSON-ize CPAN distribution.

Report information
The Basics
Id: 124850
Status: resolved
Priority: 0/
Queue: JSON-ize

People
Owner: maj.fortinbras [...] gmail.com
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.102
Fixed in: (no value)



Subject: System perl used in tests
The test suite may fail because it's apparently using the system perl, not the perl used to build the distribution. A sample test failure looks like this: Can't locate JSON.pm in @INC (@INC contains: lib ../lib /home/cpansand/.cpan/build/2018032109/JSON-ize-0.102-0/blib/lib /home/cpansand/.cpan/build/2018032109/JSON-ize-0.102-0/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at lib/JSON/ize.pm line 3. BEGIN failed--compilation aborted at lib/JSON/ize.pm line 3. Compilation failed in require. BEGIN failed--compilation aborted. # Failed test at t/001_simple.t line 33. # got: undef # expected: 'json' # Looks like you failed 1 test of 12. t/001_simple.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/12 subtests Usually the fix is to use something like $^X when calling a perl script.
Thanks Slaven - fixing with 0.103 Mark