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

[BUG] t/zzz-check-breaks.t requires a bunch of non-5.8-core modules #526

Closed
ribasushi opened this issue Dec 28, 2014 · 2 comments · Fixed by #527
Closed

[BUG] t/zzz-check-breaks.t requires a bunch of non-5.8-core modules #526

ribasushi opened this issue Dec 28, 2014 · 2 comments · Fixed by #527

Comments

@ribasushi
Copy link

These lines can not work on a "clean room" perl: https://github.com/Test-More/test-more/blob/master/t/zzz-check-breaks.t#L7-L9

rabbit@Ahasver:~$ corelist CPAN::Meta
CPAN::Meta was first released with perl v5.13.10

rabbit@Ahasver:~$ corelist CPAN::Meta::Requirements
CPAN::Meta::Requirements was first released with perl v5.15.7

rabbit@Ahasver:~$ corelist Module::Metadata
Module::Metadata was first released with perl v5.13.9

@karenetheridge
Copy link
Member

I'd do:

s/use CPAN::Meta;/eval { require CPAN::Meta; 1 } or plan skip_all 'breakage test requires CPAN::Meta';/

etc.

@karenetheridge
Copy link
Member

I added another commit, to fall back to META.json if MYMETA.json does not exist.

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

Successfully merging a pull request may close this issue.

2 participants