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

Unit tests Fail on FreeBSD. #142

Open
pprocacci opened this issue Feb 19, 2020 · 2 comments
Open

Unit tests Fail on FreeBSD. #142

pprocacci opened this issue Feb 19, 2020 · 2 comments

Comments

@pprocacci
Copy link

pprocacci commented Feb 19, 2020

% perl -v
This is perl 5, version 30, subversion 1 (v5.30.1) built for amd64-freebsd-thread-multi

% zef install Inline::Perl5
===> Searching for: Inline::Perl5
===> Updating cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Updating p6c mirror: http://ecosystem-api.p6c.org/projects1.json
===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects1.json
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Searching for missing dependencies: Distribution::Builder::MakeFromJSON:ver<0.6+>
===> Searching for missing dependencies: System::Query
===> Building: Inline::Perl5:ver<0.44>:authgithub:niner
===> Building [OK] for Inline::Perl5:ver<0.44>:authgithub:niner
===> Testing: System::Query:ver<0.1.4>:authgithub:tony-o
===> Testing [OK] for System::Query:ver<0.1.4>:authgithub:tony-o
===> Testing: Distribution::Builder::MakeFromJSON:ver<0.6>:authgithub:niner
===> Testing [OK] for Distribution::Builder::MakeFromJSON:ver<0.6>:authgithub:niner
===> Testing: Inline::Perl5:ver<0.44>:authgithub:niner
# Failed test 'at least one destructor ran # at t/p5_object_destructor.t line 40
# Failed test 'at least one destructor ran' # at t/p5_object_destructor.t line 41
`# Looks like you failed 2 tests of 20
===> Testing [FAIL]: Inline::Perl5:ver<0.44>:authgithub:niner
Aborting due to test failure: Inline::Perl5:ver<0.44>:authgithub:niner (use --force-test to override)

@niner
Copy link
Owner

niner commented Feb 19, 2020 via email

@pprocacci
Copy link
Author

Thanks niner. I'll ignore it.

As an aside, could you possibly provide an example of how to mix perl5 regex's with perl6 code via subset's or similiar?

Something like the following:

subset This of Str where * ~~ m:P5/^[\w-.:/]+$/ and 1 <= *.chars <= 255;

This doesn't work by itself because The P5 adverb is based on Perl 5.8. How would you personally accomplish this using Inline::Perl5?

Thanks in advance.

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

2 participants