Re: Running all regression tests

From: Giorgos Keramidas <keramida_at_ceid.upatras.gr>
Date: Thu, 03 Jun 2010 22:54:41 +0300
On Thu, 03 Jun 2010 14:50:13 +0200, Alexander Leidinger <Alexander_at_Leidinger.net> wrote:
> Quoting Erik Cederstrand <erik_at_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
Received on Thu Jun 03 2010 - 18:14:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC