Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing tests #3

Open
coke opened this issue Nov 19, 2015 · 4 comments
Open

Failing tests #3

coke opened this issue Nov 19, 2015 · 4 comments

Comments

@coke
Copy link

coke commented Nov 19, 2015

Test Summary Report
-------------------
t/00-basic.t     (Wstat: 1280 Tests: 5 Failed: 5)
  Failed tests:  1-5
  Non-zero exit status: 5
  Parse errors: Bad plan.  You planned 16 tests but ran 5.
t/01-ordinal-en.t (Wstat: 3328 Tests: 13 Failed: 13)
  Failed tests:  1-13
  Non-zero exit status: 13
  Parse errors: No plan found in TAP output
@zoffixznet
Copy link
Contributor

The tests still fail. And looking at output, they fail to find json files that this distro stuffs into lib instead of using resources/

===> Testing: Lingua::Number:auth('github:labster')
Testing with plugin: Zef::Service::TAP+{<anon|75983168>}
t/00-basic.t ....... Dubious, test returned 1
No subtests run
t/01-ordinal-en.t .. Dubious, test returned 1
No subtests run
All tests successful.

Test Summary Report
-------------------
t/00-basic.t  (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
  Parse errors: No plan found in TAP output
t/01-ordinal-en.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
  Parse errors: No plan found in TAP output
Files=2, Tests=0,  1 wallclock secs
Result: FAILED
===> Testing [FAIL]: Lingua::Number:auth('github:labster')
Reporting with plugin: Zef::CPANReporter+{<anon|75983168>}
Encountered problems sending test report for Lingua::Number:auth('github:labster')
Use of uninitialized value of type Zef::CPANReporter in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.
  in method report at /home/cpan/.rakudobrew/moar-nom/install/share/perl6/site/sources/643D88410EFE62A5D6F3C68A2811502A3DD01FF4 (Zef::CPANReporter) line 13
===SORRY!===
Failed to open file /home/cpan/.zef/store/p6-Lingua-Number.git/e7d8a7c848ea0cd7dac7a5d8756bf490507decd5/lib/Lingua/Number.pm (Lingua::Number)/digitformat.json: No such file or directory
===SORRY!===
Failed to open file /home/cpan/.zef/store/p6-Lingua-Number.git/e7d8a7c848ea0cd7dac7a5d8756bf490507decd5/lib/Lingua/Number.pm (Lingua::Number)/digitformat.json: No such file or directory
Use of uninitialized value of type Zef::CPANReporter in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.
  in method report at /home/cpan/.rakudobrew/moar-nom/install/share/perl6/site/sources/643D88410EFE62A5D6F3C68A2811502A3DD01FF4 (Zef::CPANReporter) line 13
Aborting due to test failure: Lingua::Number:auth('github:labster') (use --force-test to override)
  in code  at /home/cpan/.rakudobrew/moar-nom/install/share/perl6/site/sources/5CBAAFEFAAB1740958A5BF3BCD5E24C04D43EEB5 (Zef::Client) line 373
  in method test at /home/cpan/.rakudobrew/moar-nom/install/share/perl6/site/sources/5CBAAFEFAAB1740958A5BF3BCD5E24C04D43EEB5 (Zef::Client) line 351
  in code  at /home/cpan/.rakudobrew/moar-nom/install/share/perl6/site/sources/5CBAAFEFAAB1740958A5BF3BCD5E24C04D43EEB5 (Zef::Client) line 528
  in sub  at /home/cpan/.rakudobrew/moar-nom/install/share/perl6/site/sources/5CBAAFEFAAB1740958A5BF3BCD5E24C04D43EEB5 (Zef::Client) line 525
  in method install at /home/cpan/.rakudobrew/moar-nom/install/share/perl6/site/sources/5CBAAFEFAAB1740958A5BF3BCD5E24C04D43EEB5 (Zef::Client) line 631
  in sub MAIN at /home/cpan/.rakudobrew/moar-nom/install/share/perl6/site/sources/EC4CB3A653760AFCB434D28800A3F559EA8634E0 (Zef::CLI) line 152
  in block <unit> at /home/cpan/.rakudobrew/moar-nom/install/share/perl6/site/resources/007D5E5A61B87BAA8B85A58771E235214AFADB77 line 1

@labster
Copy link
Collaborator

labster commented Jul 30, 2017

Yeah, well, when I wrote it resources/ didn't actually exist. And Panda was still the most adorable module installer. Let's see if I can fix this now.

@coke
Copy link
Author

coke commented Aug 7, 2020

more failures today

zef install Lingua::Number

gets through pre-reqs and then dies here:

===> Testing: Lingua::Number:auth<github:labster>
[Lingua::Number] # Failed test 'basically works in english'
[Lingua::Number] # at t/00-basic.t line 7
[Lingua::Number] # expected: 'three million one hundred twenty-three thousand four hundred fifty-six'
[Lingua::Number] #      got: '  million'
[Lingua::Number] # Failed test 'español también'
[Lingua::Number] # at t/00-basic.t line 8
[Lingua::Number] t/00-basic.t .......
[Lingua::Number] # expected: 'tres millones ciento veintitrés mil cuatrocientos cincuenta y seis'
[Lingua::Number] Dubious, test returned 5 (wstat 1280, 0x500)
[Lingua::Number] #      got: '  millones'
[Lingua::Number] Failed 5/5 subtests
[Lingua::Number] # Failed test 'also nihongo'
[Lingua::Number] # at t/00-basic.t line 9
[Lingua::Number] # expected: '三百十二万三千四百五十六'
[Lingua::Number] #      got: ' 万'
[Lingua::Number] # Failed test 'zero is okay'
[Lingua::Number] # at t/00-basic.t line 10
[Lingua::Number] # expected: 'zero'
[Lingua::Number] #      got: ''
[Lingua::Number] # Failed test 'english first'
[Lingua::Number] # at t/00-basic.t line 13
[Lingua::Number] # expected: 'five hundred sixty-seven point eight nine'
[Lingua::Number] #      got: '  hundred point  '
[Lingua::Number] Too few positionals passed; expected 2 arguments but got 1
[Lingua::Number]   in sub rule2text at /Volumes/BUKKIT/Users/coke/.zef/store/p6-Lingua-Number.git/8e95e557897804f6e7b379ceabb6411e37ea9c93/lib/Lingua/Number.pm6 (Lingua::Number) line 124
[Lingua::Number]   in block  at /Volumes/BUKKIT/Users/coke/.zef/store/p6-Lingua-Number.git/8e95e557897804f6e7b379ceabb6411e37ea9c93/lib/Lingua/Number.pm6 (Lingua::Number) line 103
[Lingua::Number] t/01-ordinal-en.t ..
[Lingua::Number]   in sub rule2text at /Volumes/BUKKIT/Users/coke/.zef/store/p6-Lingua-Number.git/8e95e557897804f6e7b379ceabb6411e37ea9c93/lib/Lingua/Number.pm6 (Lingua::Number) line 100
[Lingua::Number] Dubious, test returned 13 (wstat 3328, 0xd00)
[Lingua::Number]   in sub cardinal at /Volumes/BUKKIT/Users/coke/.zef/store/p6-Lingua-Number.git/8e95e557897804f6e7b379ceabb6411e37ea9c93/lib/Lingua/Number.pm6 (Lingua::Number) line 226
[Lingua::Number] Failed 13/13 subtests
[Lingua::Number]   in block <unit> at t/00-basic.t line 14
[Lingua::Number] Test Summary Report
[Lingua::Number] # Failed test '0 is zeroth'
[Lingua::Number] -------------------
[Lingua::Number] # at t/01-ordinal-en.t line 12
[Lingua::Number] t/00-basic.t     (Wstat: 1280 Tests: 5 Failed: 5)
[Lingua::Number] # expected: 'zeroth'
[Lingua::Number]   Failed tests:  1-5
[Lingua::Number] #      got: ''
[Lingua::Number]   Non-zero exit status: 5
[Lingua::Number] # Failed test '1 is first'
[Lingua::Number]   Parse errors: No plan found in TAP output
[Lingua::Number] # at t/01-ordinal-en.t line 13
[Lingua::Number] t/01-ordinal-en.t (Wstat: 3328 Tests: 13 Failed: 13)
[Lingua::Number] # expected: 'first'
[Lingua::Number]   Failed tests:  1-13
[Lingua::Number] #      got: ''
[Lingua::Number]   Non-zero exit status: 13
[Lingua::Number] # Failed test '2 is second'
[Lingua::Number]   Parse errors: No plan found in TAP output
[Lingua::Number] # at t/01-ordinal-en.t line 14
[Lingua::Number] Files=2, Tests=18, 15 wallclock secs ( 0.06 usr  0.02 sys + 16.40 cusr  1.49 csys = 17.97 CPU)
[Lingua::Number] # expected: 'second'
[Lingua::Number] Result: FAIL
[Lingua::Number] #      got: ''
[Lingua::Number] # Failed test '3 is third'
[Lingua::Number] # at t/01-ordinal-en.t line 15
[Lingua::Number] # expected: 'third'
[Lingua::Number] #      got: ''
[Lingua::Number] # Failed test '4 is fourth'
[Lingua::Number] # at t/01-ordinal-en.t line 16
[Lingua::Number] # expected: 'fourth'
[Lingua::Number] #      got: ''
[Lingua::Number] # Failed test '5 is fifth'
[Lingua::Number] # at t/01-ordinal-en.t line 17
[Lingua::Number] # expected: 'fifth'
[Lingua::Number] #      got: ''
[Lingua::Number] # Failed test '6 is sixth'
[Lingua::Number] # at t/01-ordinal-en.t line 18
[Lingua::Number] # expected: 'sixth'
[Lingua::Number] #      got: ''
[Lingua::Number] # Failed test '7 is seventh'
[Lingua::Number] # at t/01-ordinal-en.t line 19
[Lingua::Number] # expected: 'seventh'
[Lingua::Number] #      got: ''
[Lingua::Number] # Failed test '8 is eighth'
[Lingua::Number] # at t/01-ordinal-en.t line 20
[Lingua::Number] # expected: 'eighth'
[Lingua::Number] #      got: ''
[Lingua::Number] # Failed test '9 is ninth'
[Lingua::Number] # at t/01-ordinal-en.t line 21
[Lingua::Number] # expected: 'ninth'
[Lingua::Number] #      got: ''
[Lingua::Number] # Failed test '10 is tenth'
[Lingua::Number] # at t/01-ordinal-en.t line 24
[Lingua::Number] # expected: 'tenth'
[Lingua::Number] #      got: ''
[Lingua::Number] # Failed test '11 is elventh'
[Lingua::Number] # at t/01-ordinal-en.t line 25
[Lingua::Number] # expected: 'eleventh'
[Lingua::Number] #      got: ''
[Lingua::Number] # Failed test '12 is twelfth'
[Lingua::Number] # at t/01-ordinal-en.t line 26
[Lingua::Number] # expected: 'twelfth'
[Lingua::Number] #      got: ''

@lizmat
Copy link
Contributor

lizmat commented Jun 13, 2024

Now living as a Raku Community Module, awaiting someone to fix the breakage that apparently happened during the GLR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants