Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
==> Starting check()...
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/format_bytes.t ..... 1/?
# Failed test 'no change'
# at t/format_bytes.t line 9.
# got: '123,51'
# expected: '123.51'
# Failed test 'mega'
# at t/format_bytes.t line 10.
# got: '1,18M'
# expected: '1.18M'
# Failed test 'kilo'
# at t/format_bytes.t line 11.
# got: '1,206K'
# expected: '1.206K'
# Failed test 'bigger mega'
# at t/format_bytes.t line 12.
# got: '117,74M'
# expected: '117.74M'
# Failed test 'giga'
# at t/format_bytes.t line 13.
# got: '1,15G'
# expected: '1.15G'
# Failed test 'test 12.95'
# at t/format_bytes.t line 15.
# got: '12,95'
# expected: '12.95'
# Failed test 'test 9.54M'
# at t/format_bytes.t line 18.
# got: '9,54M'
# expected: '9.54M'
# Failed test 'test 9.5M, (precision 1)'
# at t/format_bytes.t line 19.
# got: '9,5M'
# expected: '9.5M'
# Failed test 'test 1,024K, unit K'
# at t/format_bytes.t line 22.
# got: '1.024K'
# expected: '1,024K'
# Failed test 'no change iec'
# at t/format_bytes.t line 25.
# got: '123,51'
# expected: '123.51'
# Failed test 'mebi'
# at t/format_bytes.t line 26.
# got: '1,18MiB'
# expected: '1.18MiB'
# Failed test 'kibi'
# at t/format_bytes.t line 27.
# got: '1,206KiB'
# expected: '1.206KiB'
# Failed test 'bigger mebi'
# at t/format_bytes.t line 29.
# got: '117,74MiB'
# expected: '117.74MiB'
# Failed test 'gibi'
# at t/format_bytes.t line 30.
# got: '1,15GiB'
# expected: '1.15GiB'
# Failed test 'iec unit'
# at t/format_bytes.t line 31.
# got: '1.024KiB'
# expected: '1,024KiB'
# Looks like you failed 15 tests of 18.
t/format_bytes.t ..... Dubious, test returned 15 (wstat 3840, 0xf00)
Failed 15/18 subtests
t/format_negative.t .. 1/?
# Failed test 'neg round'
# at t/format_negative.t line 15.
# got: '-0,51'
# expected: '-0.51'
# Failed test 'neg fill'
# at t/format_negative.t line 19.
# got: '-0,55550'
# expected: '-0.55550'
# Failed test 'neg paren'
# at t/format_negative.t line 21.
# got: '(1,00000)'
# expected: '(1.00000)'
# Failed test 'neg paren zero'
# at t/format_negative.t line 22.
# got: '(0,50000)'
# expected: '(0.50000)'
# Looks like you failed 4 tests of 7.
t/format_negative.t .. Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/7 subtests
t/format_number.t .... 1/?
# Failed test 'thousands'
# at t/format_number.t line 12.
# got: '123.456,51'
# expected: '123,456.51'
# Failed test 'rounding'
# at t/format_number.t line 13.
# got: '1.234.567,51'
# expected: '1,234,567.51'
# Failed test 'one digit'
# at t/format_number.t line 14.
# got: '12.345.678,5'
# expected: '12,345,678.5'
# Failed test 'hundreds of millions'
# at t/format_number.t line 15.
# got: '123.456.789,51'
# expected: '123,456,789.51'
# Failed test 'six digit rounding'
# at t/format_number.t line 16.
# got: '1,234568'
# expected: '1.234568'
# Failed test 'extra zeroes'
# at t/format_number.t line 17.
# got: '1,2300000'
# expected: '1.2300000'
# Failed test 'leading zero'
# at t/format_number.t line 18.
# got: '0,2300000'
# expected: '0.2300000'
# Failed test 'negative with zeros'
# at t/format_number.t line 19.
# got: '-100,0000000'
# expected: '-100.0000000'
# Looks like you failed 8 tests of 10.
t/format_number.t .... Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/10 subtests
t/format_picture.t ... 1/? Only one decimal separator permitted in picture at t/format_picture.t line 15.
# Looks like your test exited with 2 just after 1.
t/format_picture.t ... Dubious, test returned 2 (wstat 512, 0x200)
All 1 subtests passed
t/format_price.t ..... ok
t/locale.t ........... ok
t/object.t ........... ok
t/round.t ............ ok
t/unformat_number.t .. 1/?
# Failed test 'num'
# at t/unformat_number.t line 12.
# got: 123.45651
# expected: 123456.51
Only one decimal separator permitted at t/unformat_number.t line 13.
# Looks like your test exited with 2 just after 2.
t/unformat_number.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
Test Summary Report
-------------------
t/format_bytes.t (Wstat: 3840 Tests: 18 Failed: 15)
Failed tests: 2-7, 10-18
Non-zero exit status: 15
t/format_negative.t (Wstat: 1024 Tests: 7 Failed: 4)
Failed tests: 3, 5-7
Non-zero exit status: 4
t/format_number.t (Wstat: 2048 Tests: 10 Failed: 8)
Failed tests: 2-9
Non-zero exit status: 8
t/format_picture.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
t/unformat_number.t (Wstat: 512 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 2
Files=9, Tests=122, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.37 cusr 0.03 csys = 0.44 CPU)
Result: FAIL
Failed 5/9 test programs. 28/122 subtests failed.
make: *** [Makefile:845: test_dynamic] Error 2
==> ERROR: A failure occurred in check().
Aborting...
==> ERROR: Makepkg was unable to build perl-number-format.
==> Restart building perl-number-format ? [y/N]
==> -------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.