Make optional, and unfo effects as run in aggregate
Tomas Doran [Mon, 25 Jul 2011 16:18:09 +0000 (17:18 +0100)]
t/aggregate/unit_core_script_server-without_modules.t

index 215ca69..af9601e 100644 (file)
@@ -2,6 +2,11 @@ use strict;
 use warnings;
 use FindBin qw/$Bin/;
 use Test::More;
+use Try::Tiny;
+
+plan skip_all => "Need Test::Without::Module for this test"
+    unless try { require Test::Without::Module; 1 };
+
 use Test::Without::Module qw(
     Starman
     Plack::Handler::Starman
@@ -11,5 +16,13 @@ use Test::Without::Module qw(
 );
 require "$Bin/../aggregate/unit_core_script_server.t";
 
+no Test::Without::Module qw(
+    Starman
+    Plack::Handler::Starman
+    MooseX::Daemonize
+    MooseX::Daemonize::Pid::File
+    MooseX::Daemonize::Core
+);
+
 1;