pull the SIG{__DIE__} handler out of the eval
[gitmo/Moo.git] / Makefile.PL
index c739ef4..69807fe 100644 (file)
@@ -75,6 +75,7 @@ WriteMakefile(
     },
     x_breaks => {
       # enter conflicting data here, *and* in Moo::Conflicts
+      'HTML::Restrict' => '2.1.5',
     },
   },
   ($mymeta && !$mymeta_works ? (NO_MYMETA => 1) : ()),
@@ -108,6 +109,8 @@ sub check_conflicts {
 EOF
     }
 
+    return if $ENV{AUTOMATED_TESTING} || $ENV{NONINTERACTIVE_TESTING};
+
     # More or less copied from Module::Build
     return if $ENV{PERL_MM_USE_DEFAULT};
     return unless -t STDIN && ( -t STDOUT || !( -f STDOUT || -c STDOUT ) );