Skip Menu |

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

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

Owner: andy [...]
Requestors: ken [...]

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

To: Andy Lester <andy [...]>
CC: Michael G Schwern <schwern [...]>, Randy W.Sims <randys [...]>
From: Ken Williams <ken [...]>
Subject: Redirect T::H output to a filehandle of one's choosing
Date: Fri, 30 Dec 2005 23:14:05 -0600
Download (untitled) / with headers
text/plain 634b
Hi Andy, Here's a patch for Test::Harness that adds the ability to send test output to a filehandle of one's choosing. It does so by exposing two internal functions, execute_tests() and get_results() (formerly _run_all_tests() and _show_results()). I believe this change will allow CPANPLUS's error reports to work properly with Module::Build - currently the test output goes directly to STDOUT and STDERR, and CPANPLUS doesn't have a chance to capture it and put it in its error reports. The patch is against the 2.57_01 release. Let me know if you have any questions or don't like the approach. Thanks, -Ken
Download th.patch
text/x-diff 12.4k

Message body is not shown because sender requested not to inline it.

I believe the new interface provided by 2.99 obsoletes this, thanks.

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

Please report any issues with to