Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker-Coverage CPAN distribution.

Report information
The Basics
Id: 14860
Status: new
Priority: 0/
Queue: ExtUtils-MakeMaker-Coverage

People
Owner: Nobody in particular
Requestors: skv [...] protey.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Fri, 30 Sep 2005 20:29:55 +0400
From: Sergey Skvortsov <skv [...] protey.ru>
To: Steve Peters <steve [...] fisharerojo.org>
Subject: patch for ExtUtils::MakeMaker::Coverage
Hi. Attached patch resolves next issues: * "cover -delete" returns 1 if directory "cover_db" does not exists (and make fails in this case) * win32 can't set environment variables directly - "env" is required -- Sergey Skvortsov mailto: skv@protey.ru
--- Coverage.pm.orig 2005-09-30 20:18:54.632812500 +0400 +++ Coverage.pm 2005-09-30 20:22:19.945312500 +0400 @@ -100,10 +100,15 @@ COVER = $bin coverclean: - \$(COVER) -delete + \$(COVER) -delete || \$(NOOP) testcover: coverclean pure_all - HARNESS_PERL_SWITCHES='-MDevel::Cover=$to_cover]; + ]; + + $make_frag .= 'env ' + if $^O =~ /Win32/; + + $make_frag .= q[HARNESS_PERL_SWITCHES='-MDevel::Cover=$to_cover]; ### did you provide an ignore list? if so, add it to the make frag ### (dont forget the trailing "' ', or just add the trailing "' " if