Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jun 2010 22:54:41 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        current@FreeBSD.org, Erik Cederstrand <erik@cederstrand.dk>
Subject:   Re: Running all regression tests
Message-ID:  <87ljav99j2.fsf@kobe.laptop>
In-Reply-To: <20100603145013.599226aj5n6rgikg@webmail.leidinger.net> (Alexander Leidinger's message of "Thu, 03 Jun 2010 14:50:13 %2B0200")
References:  <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603145013.599226aj5n6rgikg@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 03 Jun 2010 14:50:13 +0200, Alexander Leidinger <Alexander@Leidinger.net> wrote:
> Quoting Erik Cederstrand <erik@cederstrand.dk> (from Thu, 3 Jun 2010
> 12:02:51 +0200):
>
>> Hi,
>>
>> I'd like to run the regression tests in src/tools/regression on a
>> regular basis. What's the official way to do this? Is there some way
>> I can run them all in one go?
>>
>> It seems it's necessary to enter every single subdirectory and
>> execute any Makefiles located there before running 'prove -r'. Some
>
> You could write a Makefile which recurses into the subdirs.

That's the easy way to run all the current tests.  It should be possible
to add minimal makefile glue to run all the regression tests.

Skipping some of the tests may also be possible by using a technique
similar to the src/ tree, e.g.:

    SUBDIRS = \
        foo \
        ${_bar} \
        baz

    .if defined(WITH_BAR)
    _bar = bar
    .endif




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ljav99j2.fsf>