[svn:Module-Build] r12835 - Module-Build/trunk/t

[email protected]
Newsgroups perl.module.build.checkins
Message-ID <[email protected]>
Author: dagolden
Date: Sat Jun 13 17:23:29 2009
New Revision: 12835

Modified:
   Module-Build/trunk/t/compat.t

Log:
suppress distcheck noise on STDERR during testing

Modified: Module-Build/trunk/t/compat.t
==============================================================================
--- Module-Build/trunk/t/compat.t	(original)
+++ Module-Build/trunk/t/compat.t	Sat Jun 13 17:23:29 2009
@@ -347,7 +347,7 @@
   if ($cleanup) {
     # default to 'realclean' unless we recognize the clean method
     $cleanup = 'realclean' unless $cleanup =~ /^(dist|real)clean$/;
-    $output = stdout_of( sub {
+    my ($stdout, $stderr ) = stdout_stderr_of (sub {
       $build->do_system(@make, $cleanup);
     });
     ok ! -e $makefile, "$makefile cleaned up with $cleanup";
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.