Skip Menu |

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

Report information
The Basics
Id: 5967
Status: resolved
Priority: 0/
Queue: Test-Harness

Owner: Nobody in particular
Requestors: slaven [...]

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

Subject: Compress output of "make test"
Download (untitled) / with headers
text/plain 407b
The attached script can be used to "compress" the output of "make test". That is, "make test |" would result in the final output only without the fancy incrementing output of the individual tests. This is useful for slow remote connections or when transcribing the "make test" output via "script". Maybe similar functionality may be included into Test::Harness and/or prove? Regards, Slaven
text/x-perl 179b
#!/usr/bin/perl while(<>) { chomp; my @sublines = split /\cM/, $_, -1; my $line; for (@sublines) { substr($line, 0, length $_) = $_; } print "$line\n"; }
Set the HARNESS_OK_SLOW variable and it makes things better.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to