Re: [PATCH v1] Travis: also test on 32-bit Linux
From: Ramsay Jones <hidden>
Date: 2017-03-05 22:16:37
On 05/03/17 17:38, Lars Schneider wrote:
quoted
On 02 Mar 2017, at 16:17, Ramsay Jones [off-list ref] wrote: On 02/03/17 11:24, Johannes Schindelin wrote:quoted
On Thu, 2 Mar 2017, Lars Schneider wrote:[snip]quoted
quoted
One thing that still bugs me: In the Linux32 environment prove adds the CPU times to every test run: ( 0.02 usr 0.00 sys + 0.00 cusr 0.00 csys ... Has anyone an idea why that happens and how we can disable it?I have no idea.I have no idea either, but it is not unique to this 32bit Linux, but rather the version of prove. For example, I am seeing this on Linux Mint 18.1 (64bit _and_ 32bit), whereas Linux Mint 17.x did not do this. (They used different Ubuntu LTS releases). [Mint 18.1 'prove --version' says: TAP::Harness v3.35 and Perl v5.22.1]I think I found it. It was introduced in TAP::Harness v3.34: https://github.com/Perl-Toolchain-Gang/Test-Harness/commit/66cbf6355928b4828db517a99f1099b7fed35e90 ... and it is enabled with the "--timer" switch.
Yep, that looks like it. When I updated to Mint 18, this broke a perl script of mine, so I had a quick look to see what I could do to suppress it. The man page seemed to imply that you could replace the output formatter, but that didn't take me too far (search CPAN for TAP::Parser::Formatter: ;-) ). I suppose you could replace Tap::Formatter::Base, or some such, but I didn't need to go that far - I simply changed a couple of regex-es to ignore the excess output! :-P Do you really need to suppress that timing information or, like me, can you simply ignore it? ATB, Ramsay Jones