Skip Menu |

This queue is for tickets about the Time-Duration-Concise-Localize CPAN distribution.

Report information
The Basics
Id: 122112
Status: open
Priority: 0/
Queue: Time-Duration-Concise-Localize

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

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



CC: ESAYM [...] cpan.org
Subject: Errors in "Time::Seconds prettfies good" tests (with latest Time::Piece?)
Two tests fail, probably only if the latest development version of Time::Piece (1.31_03) is installed: # Failed test 'Time::Seconds prettfies good' # at t/01-concise_test.t line 40. # got: '1 day, 1 hour, 30 minutes, 0 seconds' # expected: '1 days, 1 hours, 30 minutes, 0 seconds' # Looks like you failed 1 test of 27. t/01-concise_test.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/27 subtests # Failed test 'Time::Seconds prettfies good' # at t/02-concise_localize.t line 37. # got: '1 day, 1 hour, 30 minutes, 0 seconds' # expected: '1 days, 1 hours, 30 minutes, 0 seconds' # Looks like you failed 1 test of 16. t/02-concise_localize.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/16 subtests
On Fri Jun 16 12:32:51 2017, SREZIC wrote: Show quoted text
> Two tests fail, probably only if the latest development version of > Time::Piece (1.31_03) is installed: > > # Failed test 'Time::Seconds prettfies good' > # at t/01-concise_test.t line 40. > # got: '1 day, 1 hour, 30 minutes, 0 seconds' > # expected: '1 days, 1 hours, 30 minutes, 0 seconds' > # Looks like you failed 1 test of 27. > t/01-concise_test.t ........ > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/27 subtests > > # Failed test 'Time::Seconds prettfies good' > # at t/02-concise_localize.t line 37. > # got: '1 day, 1 hour, 30 minutes, 0 seconds' > # expected: '1 days, 1 hours, 30 minutes, 0 seconds' > # Looks like you failed 1 test of 16. > t/02-concise_localize.t .... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/16 subtests
Yes, latest release of Time::Piece will not pluralize singulars. Old behavior would return "1 seconds", now will return "1 second".
On Fri Jun 16 16:03:19 2017, ESAYM wrote: Show quoted text
> On Fri Jun 16 12:32:51 2017, SREZIC wrote:
> > Two tests fail, probably only if the latest development version of > > Time::Piece (1.31_03) is installed: > > > > # Failed test 'Time::Seconds prettfies good' > > # at t/01-concise_test.t line 40. > > # got: '1 day, 1 hour, 30 minutes, 0 seconds' > > # expected: '1 days, 1 hours, 30 minutes, 0 seconds' > > # Looks like you failed 1 test of 27. > > t/01-concise_test.t ........ > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/27 subtests > > > > # Failed test 'Time::Seconds prettfies good' > > # at t/02-concise_localize.t line 37. > > # got: '1 day, 1 hour, 30 minutes, 0 seconds' > > # expected: '1 days, 1 hours, 30 minutes, 0 seconds' > > # Looks like you failed 1 test of 16. > > t/02-concise_localize.t .... > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/16 subtests
> > Yes, latest release of Time::Piece will not pluralize singulars. Old > behavior would return "1 seconds", now will return "1 second".
Failures still present when attempted to install against perl-5.31.0 on FreeBSD-12 today. ##### $ dumpjson BINARY.Time-Duration-Concise-Localize-2.61.log.json { author => "BINARY", dist => "Time-Duration-Concise-Localize", distname => "Time-Duration-Concise-Localize-2.61", distversion => 2.61, grade => "FAIL", prereqs => undef, test_output => [ "Building and testing Time-Duration-Concise-Localize-2.61", "cp lib/Time/Duration/Concise/Locale/ar.pm blib/lib/Time/Duration/Concise/Locale/ar.pm", "cp lib/Time/Duration/Concise/Locale/es.pm blib/lib/Time/Duration/Concise/Locale/es.pm", "cp lib/Time/Duration/Concise/Locale/de.pm blib/lib/Time/Duration/Concise/Locale/de.pm", "cp lib/Time/Duration/Concise/Locale/id.pm blib/lib/Time/Duration/Concise/Locale/id.pm", "cp lib/Time/Duration/Concise/Locale/vi.pm blib/lib/Time/Duration/Concise/Locale/vi.pm", "cp lib/Time/Duration/Concise/Locale/pl.pm blib/lib/Time/Duration/Concise/Locale/pl.pm", "cp lib/Time/Duration/Concise/Locale/ms.pm blib/lib/Time/Duration/Concise/Locale/ms.pm", "cp lib/Time/Duration/Concise/Locale/zh_tw.pm blib/lib/Time/Duration/Concise/Locale/zh_tw.pm", "cp lib/Time/Duration/Concise/Localize.pm blib/lib/Time/Duration/Concise/Localize.pm", "cp lib/Time/Duration/Concise/Locale/ja.pm blib/lib/Time/Duration/Concise/Locale/ja.pm", "cp lib/Time/Duration/Concise/Locale/hi.pm blib/lib/Time/Duration/Concise/Locale/hi.pm", "cp lib/Time/Duration/Concise/Locale/ru.pm blib/lib/Time/Duration/Concise/Locale/ru.pm", "cp lib/Time/Duration/Concise/Locale/it.pm blib/lib/Time/Duration/Concise/Locale/it.pm", "cp lib/Time/Duration/Concise/Locale/zh_cn.pm blib/lib/Time/Duration/Concise/Locale/zh_cn.pm", "cp lib/Time/Duration/Concise.pm blib/lib/Time/Duration/Concise.pm", "cp lib/Time/Duration/Concise/Locale/fr.pm blib/lib/Time/Duration/Concise/Locale/fr.pm", "cp lib/Time/Duration/Concise/Locale/pt.pm blib/lib/Time/Duration/Concise/Locale/pt.pm", "PERL_DL_NONLAZY=1 \"/usr/home/jkeenan/var/tad/testing/perl-5.31.0/bin/perl\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"-e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')\" t/*.t", "t/00-check-deps.t .......... ok", "t/00-compile.t ............. ok", "# ", "# Versions for all modules listed in MYMETA.json (including optional ones):", "# ", "# === Configure Requires ===", "# ", "# Module Want Have", "# ------------------- ---- ----", "# ExtUtils::MakeMaker 6.48 7.34", "# ", "# === Build Requires ===", "# ", "# Module Want Have", "# ------------------- ---- ----", "# ExtUtils::MakeMaker any 7.34", "# ", "# === Test Requires ===", "# ", "# Module Want Have", "# ------------------- ----- --------", "# ExtUtils::MakeMaker any 7.34", "# File::Spec any 3.78", "# IO::Handle any 1.40", "# IPC::Open3 any 1.20", "# Test::CheckDeps 0.010 0.010", "# Test::Exception any 0.43", "# Test::FailWarnings any 0.008", "# Test::More 0.94 1.302162", "# Test::NoWarnings any 1.04", "# ", "# === Test Recommends ===", "# ", "# Module Want Have", "# ---------- -------- --------", "# CPAN::Meta 2.120900 2.150010", "# ", "# === Runtime Requires ===", "# ", "# Module Want Have", "# ----------------- ---- ----", "# Carp any 1.50", "# Module::Pluggable any 5.2", "# POSIX any 1.88", "# Tie::Hash::LRU any 0.05", "# Time::Seconds 1.27 1.33", "# ", "t/00-report-prereqs.t ...... ok", "", "# Failed test 'Time::Seconds prettfies good'", "# at t/01-concise_test.t line 40.", "# got: '1 day, 1 hour, 30 minutes, 0 seconds'", "# expected: '1 days, 1 hours, 30 minutes, 0 seconds'", "# Looks like you failed 1 test of 27.", "t/01-concise_test.t ........ ", "Dubious, test returned 1 (wstat 256, 0x100)", "Failed 1/27 subtests ", "", "# Failed test 'Time::Seconds prettfies good'", "# at t/02-concise_localize.t line 37.", "# got: '1 day, 1 hour, 30 minutes, 0 seconds'", "# expected: '1 days, 1 hours, 30 minutes, 0 seconds'", "# Looks like you failed 1 test of 16.", "t/02-concise_localize.t .... ", "Dubious, test returned 1 (wstat 256, 0x100)", "Failed 1/16 subtests ", "t/03-concise_more.t ........ ok", "t/04-concise_as_string.t ... ok", "t/04-concise_more.t ........ ok", "t/05-concise_as_concise.t .. ok", "t/06-localize.t ............ ok", "t/boilerplate.t ............ ok", "", "Test Summary Report", "-------------------", "t/01-concise_test.t (Wstat: 256 Tests: 27 Failed: 1)", " Failed test: 23", " Non-zero exit status: 1", "t/02-concise_localize.t (Wstat: 256 Tests: 16 Failed: 1)", " Failed test: 14", " Non-zero exit status: 1", "Files=11, Tests=238, 2 wallclock secs ( 0.03 usr 0.06 sys + 1.45 cusr 0.68 csys = 2.22 CPU)", "Result: FAIL", ], via => "App::cpanminus::reporter 0.17 (1.7044)", } ##### Can you investigate? Thank you very much. Jim Keenan