Re: meson: Optionally disable installation of test modules

From: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: meson: Optionally disable installation of test modules
Date: 2023-03-08 13:49:37
Message-ID: CAN55FZ3op8sC9utSJcFgJTsMmXXDjsO5tr5OnX3fSNyB88=j1A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Mon, 6 Mar 2023 at 18:30, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> There are two separate issues here, but let's deal with the Windows issue. Attached is the log output and also a listing of the runpython directory in the build directory.

Thanks for the logs but I couldn't understand the problem. Is there a
way to reproduce this?

For the Linux problem, Andres's patch solves this but you need to run
an extra command. [1]

After applying Andres's patch, you need to run:
$ meson compile install-test-files -C $pgsql
before running the 'running tests'.

I tested on my local and
......
$ meson compile install-test-files -C $pgsql
$ meson test -C $pgsql --setup running --print-errorlogs --no-rebuild
--logbase installcheckworld --no-suite regress-running --no-suite
isolation-running --no-suite ecpg-running
passed successfully.

[1] https://www.postgresql.org/message-id/20230308012940.edexipb3vqylcu6r%40awork3.anarazel.de

Regards,
Nazir Bilal Yavuz
Microsoft

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2023-03-08 13:57:44 Re: buildfarm + meson
Previous Message Robert Haas 2023-03-08 13:35:53 Re: HOT chain validation in verify_heapam()