summaryrefslogtreecommitdiff
path: root/t/porting
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-01-26 12:46:44 +0000
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-02-02 13:41:23 +0000
commitbfc0a3e7042c488530b56956cb61c2000b4e0efa (patch)
tree31e20ff77abc959dc407fb3f0ecfc6374e49ad03 /t/porting
parentba9b1d719d13422abb21d059bd732a760a184388 (diff)
downloadperl-bfc0a3e7042c488530b56956cb61c2000b4e0efa.tar.gz
Teach makemeta to use CPAN::Meta to generate both META.json and META.yml
Diffstat (limited to 't/porting')
-rw-r--r--t/porting/regen.t8
1 files changed, 6 insertions, 2 deletions
diff --git a/t/porting/regen.t b/t/porting/regen.t
index 221ff17841..ec92dd34ab 100644
--- a/t/porting/regen.t
+++ b/t/porting/regen.t
@@ -18,9 +18,9 @@ if ( $^O eq "VMS" ) {
my $in_regen_pl = 23; # I can't see a clean way to calculate this automatically.
my @files = qw(perly.act perly.h perly.tab keywords.c keywords.h uconfig.h);
-my @progs = qw(Porting/makemeta regen/regcharclass.pl regen/mk_PL_charclass.pl);
+my @progs = qw(regen/regcharclass.pl regen/mk_PL_charclass.pl);
-plan (tests => $in_regen_pl + @files + @progs);
+plan (tests => $in_regen_pl + @files + @progs + 2);
OUTER: foreach my $file (@files) {
open my $fh, '<', $file or die "Can't open $file: $!";
@@ -47,3 +47,7 @@ OUTER: foreach my $file (@files) {
foreach (@progs, 'regen.pl') {
system "$^X $_ --tap";
}
+
+foreach ( 'META.yml', 'META.json' ) {
+ system "$^X Porting/makemeta --tap $_";
+}