Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 39635
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: eshank [...] DRWHoldings.com
Cc:
AdminCc:

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



Subject: M::B 0.30 t\compat.t fails if HARNESS_TIMER environment variable set.
Date: Fri, 26 Sep 2008 13:31:06 -0500
To: <bugs-Module-Build [...] rt.cpan.org>
From: "Elliot Shank" <eshank [...] DRWHoldings.com>
As of Test::Harness 3.13, setting the HARNESS_TIMER environment variable causes the emission of times for tests. This causes t\compat.t to fail. (Yes, those backslashes indicate I'm using Strawberry Perl.) Show quoted text
0> ./Build test
[13:14:40] t\basic...............ok 1484 ms [13:14:41] t\compat..............115/124 # Failed test 'Should be non-verbose' # at t\compat.t line 201. # '# c:\STRAWB~1\perl\bin\perl.exe Build --makefile_env_macros 1 test # # [13:15:07] t\basic....ok 51 ms # # [13:15:07] # # All tests successful. # # Files=1, Tests=1, 0 wallclock secs ( 0.03 usr + 0.03 sys = 0.06 CPU) # # Result: PASS # ' # doesn't match '(?-xism:# .+basic(\.t)?[.\s#]+ok[.\s#]+All tests successful)' [13:14:41] t\compat..............121/124 # Looks like you failed 1 test of 124. [13:14:41] t\compat.............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/124 subtests [13:15:10] t\destinations........ok 437 ms [13:15:10] t\ext.................ok 1347 ms [13:15:11] t\extend..............ok 625 ms [13:15:12] t\files...............ok 417 ms [13:15:12] t\help................ok 616 ms [13:15:13] t\install.............ok 2994 ms [13:15:16] t\manifypods..........ok 900 ms [13:15:17] t\mbyaml..............ok 96 ms [13:15:17] t\metadata............ok 2703 ms [13:15:20] t\metadata2...........ok 852 ms [13:15:21] t\moduleinfo..........ok 494 ms [13:15:21] t\new_from_context....ok 400 ms [13:15:22] t\notes...............ok 571 ms [13:15:22] t\par.................ok 2493 ms [13:15:25] t\parents.............ok 214 ms [13:15:25] t\pod_parser..........ok 117 ms [13:15:25] t\ppm.................ok 2743 ms [13:15:28] t\runthrough..........ok 3165 ms [13:15:31] t\script_dist.........ok 525 ms [13:15:31] t\signature...........skipped: $ENV{TEST_SIGNATURE} is not set [13:15:32] t\test_file_exts......ok 522 ms [13:15:32] t\test_type...........ok 743 ms [13:15:33] t\test_types..........ok 1368 ms [13:15:34] t\tilde...............ok 1181 ms [13:15:35] t\use_tap_harness.....ok 603 ms [13:15:36] t\versions............ok 219 ms [13:15:36] t\xs..................ok 6126 ms [13:15:42] Test Summary Report ------------------- t\compat (Wstat: 256 Tests: 124 Failed: 1) Failed test: 116 Non-zero exit status: 1 Files=29, Tests=999, 62 wallclock secs ( 0.38 usr + 0.09 sys = 0.47 CPU) Result: FAIL Failed 1/29 test programs. 1/999 subtests failed. This e-mail and any attachments may contain information that is confidential and proprietary and otherwise protected from disclosure. If you are not the intended recipient of this e-mail, do not read, duplicate or redistribute it by any means. Please immediately delete it and any attachments and notify the sender that you have received it in error. Unintended recipients are prohibited from taking action on the basis of information in this e-mail or any attachments. The DRW Companies make no representations that this e-mail or any attachments are free of computer viruses or other defects.
Hi Elliot, On Fri Sep 26 14:31:37 2008, eshank@DRWHoldings.com wrote: Show quoted text
> As of Test::Harness 3.13, setting the HARNESS_TIMER environment > variable causes the emission of times for tests.
Actually, that's been the case since before T::H 3, but you're the lucky finder! Show quoted text
> This causes t\compat.t to fail.
Indeed. Fixed in svn r11894. Thanks, Eric