[tapx-dev] More test issues

Andy Armstrong andy at hexten.net
Wed Aug 8 14:08:51 BST 2007


On 8 Aug 2007, at 11:48, Ovid wrote:
> Looks like we have another test problem.
>
> In t/120-harness.t, line 318:
>
>     eval { $harness->runtests( 't/data/catme.1' ) };
>
> This file is not in subversion or in the MANIFEST.

It's in subversion - but not the MANIFEST. I've just committed a fix  
for that.

> This test needs to be rewritten to be more robust, but I'm not sure
> exactly what it was supposed to be doing.  The following tests are
> affected by this problem:
>
>   t/sample-tests/die
>   t/sample-tests/die_head_end
>   t/sample-tests/die_last_minute
>   t/sample-tests/die_unfinished

I imported them from Test::Harness:

http://search.cpan.org/src/PETDANCE/Test-Harness-2.64/t/sample-tests/die

They're used to exercise TAP::Harness::Compatible.

I'm tempted to replace

use if ($^O eq 'VMS'), vmsish => 'hushed';

with

eval "use vmsish 'hushed'" if $^O eq 'VMS';

but I won't be able to test it on VMS.

Alternately I could wait until Andy Lester comes online and ask him  
where /he/ got them from for Test::Harness.

-- 
Andy Armstrong, hexten.net



More information about the tapx-dev mailing list