Re: Adding CI to our tree

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Adding CI to our tree
Дата
Msg-id 20220213215319.y2amksapmdwplu5i@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Adding CI to our tree  (Justin Pryzby <pryzby@telsasoft.com>)
Ответы Re: Adding CI to our tree
Список pgsql-hackers
Hi,

On 2022-02-13 15:31:20 -0600, Justin Pryzby wrote:
> Oh - I suppose you're right.  That's an unfortunate consequence of running a
> single prove instance without chdir.

I don't think it's chdir that's relevant (that changes into the source
directory after all). It's the TESTDIR environment variable.

I was thinking that we should make Utils.pm's INIT block responsible for
figuring out both the directory a test should run in and the log location,
instead having that in vcregress.pl and Makefile.global.in. Mostly because
doing it in the latter means we can't start tests with different TESTDIR and
working dir at the same time.

If instead we pass the location of the top-level build and top-level source
directory from vcregress.pl / Makefile.global, the tap test infrastructure can
figure out that stuff themselves, on a per-test basis.

For msvc builds we probably would need to pass in some information that allow
Utils.pm to set up PATH appropriately. I think that might just require knowing
that a) msvc build system is used b) Release vs Debug.

Greetings,

Andres Freund



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Nonrandom scanned_pages distorts pg_class.reltuples set by VACUUM
Следующее
От: David Rowley
Дата:
Сообщение: Re: generic plans and "initial" pruning