diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-12-04 07:04:48 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-12-04 10:51:21 -0800 |
commit | 668a86254af1576eb43991facafcf3693c919b3f (patch) | |
tree | 039c5a50cc0cee7f65dd46aee85364266158e949 /ext/PerlIO-encoding | |
parent | 130a351361c970c569258bc0d5613f9542d9801d (diff) | |
download | perl-668a86254af1576eb43991facafcf3693c919b3f.tar.gz |
encoding.t: Skip 2 tests under debugging
Diffstat (limited to 'ext/PerlIO-encoding')
-rw-r--r-- | ext/PerlIO-encoding/t/encoding.t | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/PerlIO-encoding/t/encoding.t b/ext/PerlIO-encoding/t/encoding.t index b9193b92f8..6b4d3d068a 100644 --- a/ext/PerlIO-encoding/t/encoding.t +++ b/ext/PerlIO-encoding/t/encoding.t @@ -206,6 +206,14 @@ package Globber { # important. # We need a double eval, as scope unwinding will close the handle, # which croaks. +# Under debugging builds with PERL_DESTRUCT_LEVEL set, we have to skip this +# test, as it triggers bug #115692, resulting in string table warnings. +require Config; +SKIP: { +skip "produces string table warnings", 2 + if "@{[Config::non_bincompat_options()]}" =~ /\bDEBUGGING\b/ + && $ENV{PERL_DESTRUCT_LEVEL}; + eval { eval { open my $fh, ">:encoding(globber)", \$buf; print $fh "Agathopous Goodfoot\n"; @@ -220,6 +228,8 @@ close $fh; is $x, "To hymn him who heard her herd herd\n", 'no crash when assigning glob to buffer in decode'; +} # SKIP + END { 1 while unlink($grk, $utf, $fail1, $fail2, $russki, $threebyte); } |