Hi all,

I'm developing web apps using Apache-Test and would like a subdirectory in
my t directory, say t/smoke/, that holds test that take a while to run.

I'll run a nightly smoke test that'll run all tests, but I'll run only
tests outside of t/smoke/ during daily work.

What is a good way to do this?  Can you point me to some reference
material?  Perhaps there is something similar in the mod perl source code.

In the mod perl 2 source code, snippet shown below, there seems to be a
way to do this using libscan to skip .svn dirs, but that's for old
versions of ExtUtils::MakeMaker (if I understand the code):

if (TOP_LEVEL && $ExtUtils::MakeMaker::VERSION < 6.06) {
    # now that we're using subversion, make sure that
    # .svn directories are skipped during the build process
    # for old versions of MakeMaker
    *MY::libscan = sub {
        my $self = shift;

        my $path = shift;

        return '' if $path =~ /\B\.svn\b/;

        return $path;
    };
    # avoid warning: used only once: possible typo at ...
    *MY::libscan = *MY::libscan;
}

The man page for Apache::TestMM has some similar info, but I'm not sure
what to do with my test in MY::test.

Sorry if this seems like too much of a tangent for an A-T list question,
it's more of a Makefile question.

Regards,
Jim

Reply via email to