Re: verbose diagnostics

2005-04-28 Thread Michael G Schwern
On Thu, Apr 28, 2005 at 10:08:00PM -0400, James E Keenan wrote: > Fergal Daly wrote: > >Where is TEST_VERBOSE documented? I see HARNESS_VERBOSE in > > > >http://search.cpan.org/~petdance/Test-Harness-2.48/lib/Test/Harness.pm > > http://search.cpan.org/grep?release=Test-Harness-2.48&string=TEST_VER

Re: verbose diagnostics

2005-04-28 Thread James E Keenan
Fergal Daly wrote: Where is TEST_VERBOSE documented? I see HARNESS_VERBOSE in http://search.cpan.org/~petdance/Test-Harness-2.48/lib/Test/Harness.pm F http://search.cpan.org/grep?release=Test-Harness-2.48&string=TEST_VERBOSE&n=1 HTH jimk

Re: verbose diagnostics

2005-04-28 Thread Michael G Schwern
On Thu, Apr 28, 2005 at 02:44:30PM +0100, Adrian Howard wrote: > > On 28 Apr 2005, at 14:23, Paul Johnson wrote: > > >Using Test::More, I would like to send some diagnostics to be seen only > >when the harness is running in verbose mode. > [snip] > > diag

Re: verbose diagnostics

2005-04-28 Thread Paul Johnson
On Thu, Apr 28, 2005 at 02:44:30PM +0100, Adrian Howard wrote: > On 28 Apr 2005, at 14:23, Paul Johnson wrote: > > >Using Test::More, I would like to send some diagnostics to be seen only > >when the harness is running in verbose mode. > [snip] > > diag "s

Re: verbose diagnostics

2005-04-28 Thread Fergal Daly
uld like to send some diagnostics to be seen only > > when the harness is running in verbose mode. > [snip] > > diag "some verbose diagnostics" if $ENV{TEST_VERBOSE}; > > ? > > Adrian > >

Re: verbose diagnostics

2005-04-28 Thread Adrian Howard
On 28 Apr 2005, at 14:23, Paul Johnson wrote: Using Test::More, I would like to send some diagnostics to be seen only when the harness is running in verbose mode. [snip] diag "some verbose diagnostics" if $ENV{TEST_VERBOSE}; ? Adrian

verbose diagnostics

2005-04-28 Thread Paul Johnson
Using Test::More, I would like to send some diagnostics to be seen only when the harness is running in verbose mode. There doesn't seem to be a way of doing this. The best I could come up with is: sub vdiag { pass("@_") } but this has little to recommend it. Thoughts? -- Paul Johnson - [EM