Re: TAP tests, directories and parameters - Mailing list pgsql-hackers

From Tom Lane
Subject Re: TAP tests, directories and parameters
Date
Msg-id 2139491.1643057005@sss.pgh.pa.us
Whole thread Raw
In response to TAP tests, directories and parameters  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> It's currently not possible to just run all tap tests in one prove run,
> because a number of tests assume that they are run from specific directories
> and/or with per-directory parameters.
> For meson I "solved" this by running each individual test in a wrapper that
> changes directory etc. But that's not really a great approach.
> To me it seems we should change our tests and test invocations to not depend
> on being run from a specific directory and to unify the environment variables
> passed to tap tests to one set somewhere central.

I'd be sad if this implied that running "make [install]check" in a
particular subdirectory no longer runs just that directory's tests.
Otherwise, sounds fine.

            regards, tom lane



pgsql-hackers by date:

Previous
From: "Bossart, Nathan"
Date:
Subject: Re: Catalog version access
Next
From: Peter Eisentraut
Date:
Subject: Re: Replace uses of deprecated Python module distutils.sysconfig