Re: Unit tests for SLRU - Mailing list pgsql-hackers

From Noah Misch
Subject Re: Unit tests for SLRU
Date
Msg-id 20220401034728.GB3682158@rfd.leadboat.com
Whole thread Raw
In response to Unit tests for SLRU  (Aleksander Alekseev <aleksander@timescale.com>)
Responses Re: Unit tests for SLRU
List pgsql-hackers
On Thu, Mar 31, 2022 at 05:30:41PM +0300, Aleksander Alekseev wrote:
> I used src/test/modules/test_* modules as an example.

> If time permits, please take a quick look at the patch and let me know
> if I'm moving the right direction. There will be more tests in the
> final version, but I would appreciate an early feedback.

The default place for this kind of test is regress.c, with plain "make check"
calling the regress.c function.  src/test/modules is for things requiring an
extension module or otherwise unable to run through regress.c.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: generic plans and "initial" pruning
Next
From: Justin Pryzby
Date:
Subject: Re: Rewriting the test of pg_upgrade as a TAP test - take three - remastered set