To: | Andy Lester <andy [...] petdance.com> |
CC: | Michael G Schwern <schwern [...] pobox.com>, Randy W.Sims <randys [...] thepierianspring.org> |
From: | Ken Williams <ken [...] mathforum.org> |
Subject: | Redirect T::H output to a filehandle of one's choosing |
Date: | Fri, 30 Dec 2005 23:14:05 -0600 |
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
Message body is not shown because sender requested not to inline it.