Description: skip t/10_memoryleak.t in AUTOMATED_TESTING environment
 This test fails from time to time, which is probably caused by the complex
 nature of the perl memory allocator.
 This patch skips the test in automated environment.
Author: Damyan Ivanov <dmn@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721418
Bug: https://rt.cpan.org/Ticket/Display.html?id=78969

--- a/t/10_memoryleak.t
+++ b/t/10_memoryleak.t
@@ -7,14 +7,20 @@ use open qw(:std :utf8);
 use lib qw(lib ../lib);
 
 use lib qw(blib/lib ../blib/lib blib/arch ../blib/arch);
-use Test::More tests    => 3;
+use Test::More;
 use Data::Dumper;
 use Time::HiRes qw(time);
 use Encode qw(decode encode);
 use Sys::Hostname;
 
-
 BEGIN {
+    if ( $ENV{AUTOMATED_TESTING} ) {
+        plan skip_all => 'Development test';
+    }
+    else {
+        plan tests => 3;
+    }
+
     # Подготовка объекта тестирования для работы с utf8
     my $builder = Test::More->builder;
     binmode $builder->output,         ":utf8";
