Skip to content

Commit 93617f9

Browse files
always use the core serializers when testing in core
This change has already been applied to blead in advance of perl 5.25.4.
1 parent f7f5a99 commit 93617f9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

t/min_perl_version.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ END
5252
);
5353

5454
# avoid environment variables interfering with our make runs
55+
delete @ENV{qw(PERL_JSON_BACKEND CPAN_META_JSON_BACKEND PERL_YAML_BACKEND)} if $ENV{PERL_CORE};
5556
delete @ENV{qw(LIB MAKEFLAGS PERL_CORE)};
5657

5758
my $perl = which_perl();

t/several_authors.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ END
5252
);
5353

5454
# avoid environment variables interfering with our make runs
55+
delete @ENV{qw(PERL_JSON_BACKEND CPAN_META_JSON_BACKEND PERL_YAML_BACKEND)} if $ENV{PERL_CORE};
5556
delete @ENV{qw(LIB MAKEFLAGS PERL_CORE)};
5657

5758
my $perl = which_perl();

0 commit comments

Comments
 (0)