This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get tie.t working under minitest
authorFather Chrysostomos <sprout@cpan.org>
Tue, 2 Sep 2014 08:21:27 +0000 (01:21 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 3 Sep 2014 03:11:20 +0000 (20:11 -0700)
If things are broken enough that make_ext.pl cannot run, then mini-
test may run this script before base.pm is copied into lib/.

t/op/tie.t

index e0b2499..aff685b 100644 (file)
@@ -27,6 +27,8 @@ tie %h, Tie::StdHash;
 untie %h;
 EXPECT
 ########
+# SKIP !defined &DynaLoader::boot_DynaLoader && !eval 'require base'
+# (skip under miniperl if base.pm is not in lib/ yet)
 
 # standard behaviour, without any extra references
 use Tie::Hash ;