Permalink
Browse files

Suppress warnings coming from the fact that MyDist (system_installed.…

…t) is not a complete dist.
  • Loading branch information...
1 parent 40da213 commit 881b198c0f9ef18cd00f191a92b5adb0ab4a2b24 @jberger jberger committed Mar 15, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 t/yy-system_installed.t
View
@@ -6,6 +6,9 @@ use File::chdir;
use Test::More;
use Alien::Base::ModuleBuild;
+# Since this is not a complete distribution, it complains about missing files/folders
+local $SIG{__WARN__} = sub { warn $_[0] unless $_[0] =~ /Can't stat/ };
+
local $CWD;
push @CWD, qw/t system_installed/;

0 comments on commit 881b198

Please sign in to comment.