Subject: | Setting $ENV{HARNESS_VERBOSE} breaks t/failure and t/test-harness |
Test-Harness's test suite assumes HARNESS_VERBOSE is not set, and if it
is, 2 tests fail:
$> HARNESS_VERBOSE=1 make test TEST_FILES="t/failure.t t/test-harness.t"
TEST_VERBOSE=1
t/test-harness....1..216
# bailout
# bignum
1..5
Test header seen more than once!
ok 1
ok 2
ok 3
Bail out! GERONIMMMOOOOOO!!!
FAILED--Further testing stopped: GERONIMMMOOOOOO!!!
make: *** [test_dynamic] Error 9
Subject: | Test-Harness-2.64.diff |
--- t/failure.t.orig 2007-01-29 14:54:39.000000000 -0800
+++ t/failure.t 2007-01-29 14:54:50.000000000 -0800
@@ -8,6 +8,7 @@
else {
unshift @INC, 't/lib';
}
+ delete $ENV{HARNESS_VERBOSE};
}
use strict;
--- t/test-harness.t.orig 2007-01-29 14:55:07.000000000 -0800
+++ t/test-harness.t 2007-01-29 14:55:21.000000000 -0800
@@ -8,6 +8,7 @@
else {
unshift @INC, 't/lib';
}
+ delete $ENV{HARNESS_VERBOSE};
}
use strict;