Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

BooK (2612)

BooK
  {book} {at} {cpan.org}
http://paris.mongueurs.net/
Yahoo! ID: philippe_bruhat (Add User, Send Message)

Obfuscation [plover.com]. Pink [axis-of-aevil.net]. HTTP::Proxy [cpan.org]. YEF [yapceurope.org]. Fishnet [perl.org]. Kapow [cpan.org]. Cog's [perl.org] bitch [cpan.org]. Invitation [perl.org]. White [perl.org] Camel [perl.org]. Nuff' said.

Journal of BooK (2612)

Monday April 15, 2002
09:24 AM

make test, Test::Harness and HARNESS_FILELEAK_IN_DIR

[ #4202 ]

When using Test::Harness, if the environment variable HARNESS_FILELEAK_IN_DIR is set to a directory name (like /tmp), this directory is checked for leaked files.

This all nice and well, but can I use this so that make test can actually check for leaked files?

HARNESS_FILELEAK_IN_DIR=/tmp make test is not really an option, since CPAN.pm runs a bare make test. And I would like to check leaked files in different directories, depending on the .t file that is run.

Is there any way to do this? (I suppose setting $ENV{HARNESS_FILELEAK_IN_DIR} at the beginning of the test will not work.)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.