Skip Menu |

This queue is for tickets about the WWW-Facebook-API CPAN distribution.

Report information
The Basics
Id: 33571
Status: resolved
Priority: 0/
Queue: WWW-Facebook-API

People
Owner: Nobody in particular
Requestors: jgoulah [...] cpan.org
Cc: jgoulah [...] gmail.com
AdminCc:

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



CC: jgoulah [...] gmail.com
Subject: test suite fails when handler is JSON.pm (v 0.4.10 of this module)
This is actually broken in 0.4.10 but that doesn't look like an option in the combo If you only have JSON.pm installed the test suite fails. If you then install JSON::XS it will pass. So it needs to pass with JSON.pm as well. Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00.load..........ok 1/15# Testing WWW::Facebook::API 0.4.10 t/00.load..........ok t/api..............ok t/auth.............skipped all skipped: Tests require Test::MockObject::Extends t/canvas...........ok 1/58# 'require_*' tests without a user # 'require_*' tests with a user t/canvas...........ok 43/58 skipped: various reasons t/config...........ok t/events...........skipped all skipped: Live tests require API key, secret, and session t/fbml.............ok t/feed.............ok t/fql..............skipped all skipped: Live tests require API key, secret, and session t/friends..........ok t/groups...........skipped all skipped: Live tests require API key, secret, and session t/internal.........ok t/marketplace......ok t/md5..............ok t/notifications....ok t/pages............ok t/parse............ok 1/11JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at /home/testuser/perl5/lib/perl5/JSON/Any.pm line 437 # Looks like you planned 11 tests but only ran 4. # Looks like your test died just after 4. t/parse............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 5-11 Failed 7/11 tests, 36.36% okay t/perlcritic.......skipped all skipped: Skipping author tests t/photos...........ok 3/9 skipped: various reasons t/pod-coverage.....skipped all skipped: Skipping author tests t/pod..............skipped all skipped: Skipping author tests t/profile..........skipped all skipped: Live tests require API key, secret, and session t/users............ok t/xml..............skipped all skipped: Live tests require API key, secret, and session Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/parse.t 255 65280 11 14 5-11 9 tests and 46 subtests skipped. Failed 1/24 test scripts. 7/182 subtests failed. Files=24, Tests=182, 4 wallclock secs ( 2.39 cusr + 1.23 csys = 3.62 CPU) Failed 1/24 test programs. 7/182 subtests failed. make: *** [test_dynamic] Error 255 UNOBE/WWW-Facebook-API-v0.4.10.tar.gz /usr/bin/make test -- NOT OK //hint// To get more information about failing tests, try: reports UNOBE/WWW-Facebook-API-v0.4.10.tar.gz Running make install make test had returned bad status, won't install without force
Fixed in 0.4.12 (on its way to CPAN)