Skip Menu |

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

Report information
The Basics
Id: 14389
Status: new
Priority: 0/
Queue: Test-Builder-Tester

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

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



Subject: Throws warnings when run outside of a harness
When run outside of a harness, Test::Builder::Tester stores away the HARNESS_ACTIVE environment variable as undef, and then tries to set it back, causing a warning. Test::Builder::Tester::test_test(/usr/local/share/perl/5.8.4/Test/Builder/Tester.pm:353): 353: $ENV{HARNESS_ACTIVE} = $original_harness_env; DB<3> Use of uninitialized value in scalar assignment at /usr/local/share/perl/5.8.4/Test/Builder/Tester.pm line 353. Test::Builder::Tester::test_test() called at 02_main.t line 31 To resolve check that HARNESS_ACTIVE actually exists to start with, and if not make sure you delete $ENV{HARNESS_ACTIVE} rather than setting it to undef.