Skip Menu |

This queue is for tickets about the Sah-Schemas-Git CPAN distribution.

Report information
The Basics
Id: 132243
Status: resolved
Priority: 0/
Queue: Sah-Schemas-Git

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

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



Subject: Failed test 'No tests run for subtest "validation"'
t/git-refname.t fails on some of my systems: ... # No tests run! # Failed test 'No tests run for subtest "validation"' # at t/git-refname.t line 18. Can't compile validator: Can't find string terminator '"' anywhere before EOF at (eval 77) line 44. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 1. t/git-refname.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests ...
On 2020-03-26 14:40:10, SREZIC wrote: Show quoted text
> t/git-refname.t fails on some of my systems: > > ... > # No tests run! > > # Failed test 'No tests run for subtest "validation"' > # at t/git-refname.t line 18. > Can't compile validator: Can't find string terminator '"' anywhere > before EOF at (eval 77) line 44. > # Tests were run but no plan was declared and done_testing() was not > seen. > # Looks like your test exited with 255 just after 1. > t/git-refname.t .......... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 1/1 subtests > ...
Sometimes the test failure looks different: ... # No tests run! # Failed test 'No tests run for subtest "validation"' # at t/git-refname.t line 18. Sah perl compiler: at schema:/: Unhandled clause for type str: examples (Can't locate object method "clausemeta_examples" via package "Data::Sah::Type::str" at /usr/perl5.22.2t/lib/site_perl/5.22.2/Data/Sah/Compiler.pm line 187. ) at /usr/perl5.22.2t/lib/site_perl/5.22.2/Data/Sah/Compiler.pm line 74. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 1. t/git-refname.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests ...
On Thu, 26 Mar 2020 18:40:53 GMT, SREZIC wrote: Show quoted text
> On 2020-03-26 14:40:10, SREZIC wrote:
> > t/git-refname.t fails on some of my systems: > > > > ... > > # No tests run! > > > > # Failed test 'No tests run for subtest "validation"' > > # at t/git-refname.t line 18. > > Can't compile validator: Can't find string terminator '"' anywhere > > before EOF at (eval 77) line 44. > > # Tests were run but no plan was declared and done_testing() was not > > seen. > > # Looks like your test exited with 255 just after 1. > > t/git-refname.t .......... > > Dubious, test returned 255 (wstat 65280, 0xff00) > > Failed 1/1 subtests > > ...
> > Sometimes the test failure looks different: > > ... > # No tests run! > > # Failed test 'No tests run for subtest "validation"' > # at t/git-refname.t line 18. > Sah perl compiler: at schema:/: Unhandled clause for type str: > examples (Can't locate object method "clausemeta_examples" via package > "Data::Sah::Type::str" at > /usr/perl5.22.2t/lib/site_perl/5.22.2/Data/Sah/Compiler.pm line 187. > ) at /usr/perl5.22.2t/lib/site_perl/5.22.2/Data/Sah/Compiler.pm line > 74. > # Tests were run but no plan was declared and done_testing() was not > seen. > # Looks like your test exited with 255 just after 1. > t/git-refname.t .......... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 1/1 subtests > ...
This happens because of old version of Data::Sah (< 0.897) which doesn't recognize 'examples' clause. Shouldn't happen now with 0.003 because I've removed the test script.
On Thu, 26 Mar 2020 18:40:10 GMT, SREZIC wrote: Show quoted text
> t/git-refname.t fails on some of my systems: > > ... > # No tests run! > > # Failed test 'No tests run for subtest "validation"' > # at t/git-refname.t line 18. > Can't compile validator: Can't find string terminator '"' anywhere > before EOF at (eval 77) line 44. > # Tests were run but no plan was declared and done_testing() was not > seen. > # Looks like your test exited with 255 just after 1. > t/git-refname.t .......... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 1/1 subtests > ...
This needs workaround in Regexp::Pattern::Git (version 0.002), now specified.