-----BEGIN PGP SIGNED MESSAGE----- Moin,
On Friday 16 September 2005 19:44, Shlomi Fish wrote: > On Friday 16 September 2005 19:34, Mark Ethan Trostler wrote: > > Alls you need to do is call: > > ($tot, $failedtests) = Test::Harness::_run_all_tests(@tests); > > instead of 'run_tests' to get at the '$tot' & '$failedtest' hash refs > > (Data::Dumper it or look at the comments in Test::Harness) which has > > all the info you need to output whatever/however you want - I use it > > to XML-ize Test::Harness output instead of the standard format. This > > also avoids the call to '_show_results' (or you can call it yourself > > later) so you can output whatever/however you want. > > Hmmm... I've inspected the Test::Harness source now. While one can > indeed do what you said, if I want to emulate the functionality of > _show_results in its entirety, except for a small difference, then I'll > have to duplicate a lot of code. That's Not Good<tm>. > > So I think a spin-off of Test::Harness which will facilitate doing that > is still in order. Why not fix Test::Harness instead of re-inventing it entirely? Best wishes, Tels - -- Signed on Fri Sep 16 19:57:37 2005 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email. "The campaign should combat the messages of pornography by putting signs on buses saying sex with children is not OK." -- Mary Anne Layden in ttp://tinyurl.com/6a9cy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iQEVAwUBQysHu3cLPEOTuEwVAQHJWwf+J/oro0TGsR684rUYoSPZae7HWH2ccXED EhKR3bHRXVAFhz490+yWaajYQ88FMfYObH90dPOPDTKKJyHgGqmzC6awswuZlchX GalceBaQyU77yhLn3D5lLo/v/Cx+Xa99sO9/K8OMGbrphSUOj6xqKm615Ts6xHsL vpALbXG3ztYFRWowzGRWj8sjy6dyGYlDYx0De3jLXtavBeYITLNLf2v38axgEl6x IHn+ycSkgZJkxGhjEa2+83gVbUpQp4EFsEgZGpBNVmpoy/EtARFx0i/A74VoQWoC DksImhKs8vP+kOerqGOH/yLTn9o1XO1dI3/5KnSNqFnbFn+7kE1a+g== =5wa9 -----END PGP SIGNATURE-----