Re: Small TAP tests cleanup for Windows and unused modules

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Small TAP tests cleanup for Windows and unused modules
Дата
Msg-id 9AE390C2-CAA8-4D14-B50E-E853D52DCBCD@anarazel.de
обсуждение исходный текст
Ответ на Re: Small TAP tests cleanup for Windows and unused modules  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Hi,

On February 16, 2022 2:04:01 PM PST, Andrew Dunstan <andrew@dunslane.net> wrote:
>
>On 2/16/22 16:36, Daniel Gustafsson wrote:
>> Seeing msys in TAP tests mentioned in a thread [1] tonight reminded me about
>> two related (well, one of them) patches I had sitting around, so rather than
>> forgetting again here are some small cleanups.
>>
>> 0001 attempts to streamline how we detect Windows in the TAP tests (after that
>> there is a single msys check left that I'm not sure about, but [1] seems to
>> imply it could go); 0002 removes some unused module includes which either were
>> used at some point in the past or likely came from copy/paste.
>>
>
>0002 looks OK at first glance.
>
>
>0001 is something we should investigate. It's really going in the wrong
>direction I suspect. We should be looking to narrow the scope of these
>platform-specific bits of processing, not expand them.

Yes. The vast majority of those skips looks frankly irresponsible, indicating bugs in the test or postgres. There's
definitelyvalid cases (e.g. testing sysv shm), but most don't look valid to me. 

Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: killing perl2host
Следующее
От: Tom Lane
Дата:
Сообщение: Re: libpq async duplicate error results