Skip Menu |

This queue is for tickets about the Test-JSON-Schema-Acceptance CPAN distribution.

Report information
The Basics
Id: 121146
Status: resolved
Priority: 0/
Queue: Test-JSON-Schema-Acceptance

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.0.2
Fixed in: 0.990



Subject: Undeclared dependency JSON
It seems that the test suite fails if JSON.pm is not installed: ... PERL_DL_NONLAZY=1 "/bbbike/perl-5.24.0t/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Bailout called. Further testing stopped: # Failed test 'use Test::JSON::Schema::Acceptance;' # at t/00-load.t line 10. # Tried to use 'Test::JSON::Schema::Acceptance'. # Error: Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: ...) at /tmpfs/.cpan-build-cpansand/2017041509/Test-JSON-Schema-Acceptance-0.0.2-QosYcs/blib/lib/Test/JSON/Schema/Acceptance.pm line 10. # BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2017041509/Test-JSON-Schema-Acceptance-0.0.2-QosYcs/blib/lib/Test/JSON/Schema/Acceptance.pm line 10. # Compilation failed in require at t/00-load.t line 10. # BEGIN failed--compilation aborted at t/00-load.t line 10. Use of uninitialized value $Test::JSON::Schema::Acceptance::VERSION in concatenation (.) or string at t/00-load.t line 13. # Testing Test::JSON::Schema::Acceptance , Perl 5.024000, /bbbike/perl-5.24.0t/bin/perl # Looks like you failed 1 test of 1. FAILED--Further testing stopped. Makefile:1053: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 1 ...
Subject: Re: [rt.cpan.org #121146] Undeclared dependency JSON
Date: Sat, 15 Apr 2017 23:30:26 +0000
To: bug-Test-JSON-Schema-Acceptance [...] rt.cpan.org
From: relequestual <relequestual [...] gmail.com>
Thanks for the report. Guessing this should be easy to fix. Happy to accept a GitHub Pull Request if you're so inclined. Cheers Ben. On Sat, 15 Apr 2017 at 11:10, Slaven_Rezic via RT < bug-Test-JSON-Schema-Acceptance@rt.cpan.org> wrote: Show quoted text
> Sat Apr 15 06:10:07 2017: Request 121146 was acted upon. > Transaction: Ticket created by SREZIC > Queue: Test-JSON-Schema-Acceptance > Subject: Undeclared dependency JSON > Broken in: 0.0.2 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=121146 > > > > It seems that the test suite fails if JSON.pm is not installed: > > ... > PERL_DL_NONLAZY=1 "/bbbike/perl-5.24.0t/bin/perl" > "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > Bailout called. Further testing stopped: > > # Failed test 'use Test::JSON::Schema::Acceptance;' > # at t/00-load.t line 10. > # Tried to use 'Test::JSON::Schema::Acceptance'. > # Error: Can't locate JSON.pm in @INC (you may need to install the > JSON module) (@INC contains: ...) at > /tmpfs/.cpan-build-cpansand/2017041509/Test-JSON-Schema-Acceptance-0.0.2-QosYcs/blib/lib/Test/JSON/Schema/Acceptance.pm > line 10. > # BEGIN failed--compilation aborted at > /tmpfs/.cpan-build-cpansand/2017041509/Test-JSON-Schema-Acceptance-0.0.2-QosYcs/blib/lib/Test/JSON/Schema/Acceptance.pm > line 10. > # Compilation failed in require at t/00-load.t line 10. > # BEGIN failed--compilation aborted at t/00-load.t line 10. > Use of uninitialized value $Test::JSON::Schema::Acceptance::VERSION in > concatenation (.) or string at t/00-load.t line 13. > # Testing Test::JSON::Schema::Acceptance , Perl 5.024000, > /bbbike/perl-5.24.0t/bin/perl > # Looks like you failed 1 test of 1. > FAILED--Further testing stopped. > Makefile:1053: recipe for target 'test_dynamic' failed > make: *** [test_dynamic] Error 1 > ... >
I have released version 0.990 which redoes the distribution tooling, including declaring prerequisites.