Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 29293
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: hs [...] schlittermann.de
Cc:
AdminCc:

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



Subject: prove 1.05 (Perl 5.8.8) missing -w switch when using -b
Date: Tue, 11 Sep 2007 01:53:55 +0200
To: andy [...] petdance.com
From: Heiko Schlittermann <hs [...] schlittermann.de>
Hello, I hope you're still maintaining "prove" or you know at least who is maintaining it currently. If I use prove -b t/12-config.t the Test::Harness::Switches contains the blib directories. But it does not anymore contain the "-w" switch that is there per default. This is misleading: prove succeeds w/o warning wheres MakeMaker generated files (using Test::Harness directly) send bunches of warnings (if the code triggers warnings). I think it can be fixed easily: - $Test::Harness::Switches = join( " ", @switches ); + $Test::Harness::Switches = join( " ", $Test::Harness::Switches, @switches ); Best regards from Dresden Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann HS12-RIPE ----------------------------------------- gnupg encrypted messages are welcome - key ID: 48D0359B --------------- gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B -
From Test::Harness 3.00 onwards you may explicitly pass -w to prove to enable warnings. Warnings are turned off by default. The -w flag is orthogonal to -b.