Author: kane
Date: Mon May 28 05:54:18 2007
New Revision: 9617
Modified:
CPANPLUS-Dist-Build/trunk/ (props changed)
CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build.pm
CPANPLUS-Dist-Build/trunk/t/02_CPANPLUS-Dist-Build.t
Log:
[EMAIL PROTECTED]: kane | 2007-05-28 14:54:02 +0200
* add the '/nologo' patch for nmake that we already did for CPANPLUS
on dmq's suggestion. This makes test output on win32 a lot more quiet
Modified: CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build.pm
==============================================================================
--- CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build.pm (original)
+++ CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build.pm Mon May 28
05:54:18 2007
@@ -29,7 +29,7 @@
local $Params::Check::VERBOSE = 1;
-$VERSION = '0.06';
+$VERSION = '0.06_01';
=pod
Modified: CPANPLUS-Dist-Build/trunk/t/02_CPANPLUS-Dist-Build.t
==============================================================================
--- CPANPLUS-Dist-Build/trunk/t/02_CPANPLUS-Dist-Build.t (original)
+++ CPANPLUS-Dist-Build/trunk/t/02_CPANPLUS-Dist-Build.t Mon May 28
05:54:18 2007
@@ -13,7 +13,7 @@
use Config;
use Test::More 'no_plan';
-use File::Basename ();
+use File::Basename qw[basename];
use Data::Dumper;
use Config;
use IPC::Cmd 'can_run';
@@ -53,6 +53,19 @@
### running tests will mess with the test output so skip 'm
$Conf->set_conf( skiptest => 1 );
+### dmq tells us that we should run with /nologo
+### if using nmake, as it's very noise otherwise.
+### XXX copied from CPANPLUS' test include file!
+{ my $make = $Conf->get_program('make');
+ if( $make and basename($make) =~ /^nmake/i and
+ $make !~ m|/nologo|
+ ) {
+ $make .= ' /nologo';
+ $Conf->set_program( make => $make );
+ }
+}
+
+
# path, cc needed?
my %Map = ( noxs => 0,
xs => 1