Re: meson: Optionally disable installation of test modules

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: meson: Optionally disable installation of test modules
Date: 2023-02-20 18:43:56
Message-ID: 53cbd1d2-b7f1-9a06-bfea-9b1f9be6b937@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09.02.23 16:30, Nazir Bilal Yavuz wrote:
> On 2/8/23 13:30, Peter Eisentraut wrote:
>>
>> If you feel that your patch is ready, please add it to the commit
>> fest. I look forward to reviewing it.
>
>
> Thanks! Commit fest entry link: https://commitfest.postgresql.org/42/4173/

I tested this a bit. It works fine. The approach makes sense to me.

The install_additional_files script could be simplified a bit. You
could use os.makedirs(dest, exist_ok=True) and avoid the error checking.
I don't think any callers try to copy a directory source, so the
shutil.copytree() stuff isn't necessary. Run pycodestyle over the
script. And let's put the script into src/tools/ like the other support
scripts.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2023-02-20 18:45:53 Re: psql \watch 2nd argument: iteration count
Previous Message Andres Freund 2023-02-20 18:30:10 Re: Reducing System Allocator Thrashing of ExecutorState to Alleviate FDW-related Performance Degradations