Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.
Дата
Msg-id
4941f5a5-2d50-1a0e-6701-14c5fefe92d6@dunslane.net
Ответ на
Список
Дерево обсуждения
pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl. Andres Freund <andres@anarazel.de>
Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl. Andrew Dunstan <andrew@dunslane.net>
Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl. Andres Freund <andres@anarazel.de>
Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl. Andrew Dunstan <andrew@dunslane.net>
Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl. Andrew Dunstan <andrew@dunslane.net>
Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl. Andrew Dunstan <andrew@dunslane.net>

On 10/1/21 6:34 PM, Andres Freund wrote:
> Reference test binary using TESTDIR in 001_libpq_pipeline.pl.
>
> The previous approach didn't really work on windows, due to the PATH separator
> being ';' not ':'. Instead of making the PATH change more complicated,
> reference the binary using the TESTDIR environment.
>
> Reported-By: Andres Freund 
> Suggested-By: Andrew Dunstan 
> Discussion: https://postgr.es/m/20210930214040.odkdd42vknvzifm6@alap3.anarazel.de
> Backpatch: 14-, where the test was introduced.
>

I don't think any of us were thinking very clearly about this. Of
course, MSVC doesn't build executables in $TESTDIR. If we want to pick
up the executable from where it's built we'll need a little help from
vcregress.pl. I haven't tested it but What I have in mind is something
like the attached.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

В списке pgsql-committers по дате отправления
От: Michael Paquier
Дата:
От: Andrew Dunstan
Дата:
FAQ