# from Andy Armstrong
# on Sunday 21 January 2007 09:21 am:
>> OR possibly even...
>>
>> /home/me/directory/ADAMK/Dist-Name-0.01.tar.gz/01_compile.t
>> /home/me/directory/ADAMK/Dist-Name-0.01.tar.gz/02_main.t
>
>That might be harder. I guess whatever harness you use to set the
>environment variable could maybe take care of that?
Yes. It should be expected to provide a single directory and not apply
any policy to that beyond mirroring the t/ directory structure. If you
need to run it fairly manually, but still stay in your dump framework,
you could do:
PERL_TEST_HARNESS_DUMP_TAP="$(test_dir_for_this_dist)"
If that isn't enough (which may be the case in Adam's cpan injection), I
suppose you could do "if the env var is an executable, run it and
capture the output"?
Note, for recursive test directories, it should create
t/foo/foo_basic.t, t/bar/bar_basic.t
--Eric
--
To succeed in the world, it is not enough to be stupid, you must also be
well-mannered.
--Voltaire
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------