Opened 9 years ago

Closed 9 years ago

#46566 closed defect (fixed)

p5-net-dict: upgrade to 2.19

Reported by: mojca (Mojca Miklavec) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbevans (David B. Evans)
Port: p5-net-dict

Description

I would have upgraded p5-net-dict, but the tests fail:

--->  Testing p5.20-net-dict
PERL_DL_NONLAZY=1 /opt/local/bin/perl5.20 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

#   Failed test 'valid hostname and port to constructor should return object'
#   at t/connection.t line 96.
Can't call method "serverInfo" on an undefined value at t/connection.t line 106, <DATA> line 79.
# Looks like you planned 17 tests but ran 7.
# Looks like you failed 1 test of 7 run.
# Looks like your test exited with 60 just after 7.
t/connection.t .. 
Dubious, test returned 60 (wstat 15360, 0x3c00)
Failed 11/17 subtests 

#   Failed test 'Connect to DICT server'
#   at t/database.t line 54.

#   Failed test 'dbs() with an argument should croak'
#   at t/database.t line 60.

#   Failed test 'Check list of database names'
#   at t/database.t line 75.

#   Failed test 'dbInfo() with no arguments should croak'
#   at t/database.t line 83.

#   Failed test 'dbInfo() with more than one argument should croak'
#   at t/database.t line 90.

#   Failed test 'dbInfo() on a non-existent DB should return undef'
#   at t/database.t line 97.

#   Failed test 'Do we get expected DB info for wordnet?'
#   at t/database.t line 112.

#   Failed test 'dbTitle() with no arguments should croak'
#   at t/database.t line 120.

#   Failed test 'dbTitle() with more than one argument should croak'
#   at t/database.t line 127.

#   Failed test 'dbTitle() on a non-existent DB should return undef'
#   at t/database.t line 135.
Can't call method "debug" on an undefined value at t/database.t line 146, <DATA> line 122.
# Looks like you planned 13 tests but ran 11.
# Looks like you failed 10 tests of 11 run.
# Looks like your test exited with 60 just after 11.
t/database.t .... 
Dubious, test returned 60 (wstat 15360, 0x3c00)
Failed 12/13 subtests 

#   Failed test 'connect to DICT server'
#   at t/define.t line 54.

#   Failed test 'define() with no arguments should croak'
#   at t/define.t line 60.

#   Failed test 'requesting a definition for a non-existent word should return no entries'
#   at t/define.t line 68.

#   Failed test 'do we get expected definitions for 'biscuit''
#   at t/define.t line 93.
Can't call method "setDicts" on an undefined value at t/define.t line 101, <DATA> line 140.
# Looks like you planned 16 tests but ran 5.
# Looks like you failed 4 tests of 5 run.
# Looks like your test exited with 60 just after 5.
t/define.t ...... 
Dubious, test returned 60 (wstat 15360, 0x3c00)
Failed 15/16 subtests 


#   Failed test 'connect to DICT server'
#   at t/match.t line 62.

#   Failed test 'calling match() with no arguments should croak()'
#   at t/match.t line 68.

#   Failed test 'match() with no argument should croak'
#   at t/match.t line 75.

#   Failed test 'match() with 2 arguments, but word is undef, should return undef'
#   at t/match.t line 83.

#   Failed test 'match() with 2 args but empty word should return undef'
#   at t/match.t line 92.

#   Failed test 'do we get the expected list of strategies'
#   at t/match.t line 116.

#   Failed test 'do we get the expected list of strats (back compat)'
#   at t/match.t line 138.

#   Failed test 'get a list of words starting with 'blue screen''
#   at t/match.t line 154.
Can't call method "setDicts" on an undefined value at t/match.t line 163, <DATA> line 246.
# Looks like you planned 15 tests but ran 9.
# Looks like you failed 8 tests of 9 run.
# Looks like your test exited with 60 just after 9.
t/match.t ....... 
Dubious, test returned 60 (wstat 15360, 0x3c00)
Failed 14/15 subtests 

Test Summary Report
-------------------
t/connection.t (Wstat: 15360 Tests: 7 Failed: 1)
  Failed test:  7
  Non-zero exit status: 60
  Parse errors: Bad plan.  You planned 17 tests but ran 7.
t/database.t  (Wstat: 15360 Tests: 11 Failed: 10)
  Failed tests:  2-11
  Non-zero exit status: 60
  Parse errors: Bad plan.  You planned 13 tests but ran 11.
t/define.t    (Wstat: 15360 Tests: 5 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 60
  Parse errors: Bad plan.  You planned 16 tests but ran 5.
t/match.t     (Wstat: 15360 Tests: 9 Failed: 8)
  Failed tests:  2-9
  Non-zero exit status: 60
  Parse errors: Bad plan.  You planned 15 tests but ran 9.
Files=4, Tests=32, 303 wallclock secs ( 0.05 usr  0.02 sys +  0.38 cusr  0.09 csys =  0.54 CPU)
Result: FAIL
Failed 4/4 test programs. 23/32 subtests failed.
make: *** [test_dynamic] Error 60

I probably don't know how to set up the database.

See also #46005.

Attachments (1)

p5-net-dict.2.19.diff (1.2 KB) - added by mojca (Mojca Miklavec) 9 years ago.
Upgrade p5-net-dict to 2.19

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by mojca (Mojca Miklavec)

Attachment: p5-net-dict.2.19.diff added

Upgrade p5-net-dict to 2.19

comment:1 Changed 9 years ago by mojca (Mojca Miklavec)

Cc: devans@… added
Resolution: fixed
Status: newclosed

Updated in r132452.

Note: See TracTickets for help on using tickets.