Re: Object files generated by ecpg test suite not ignored on Windows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Object files generated by ecpg test suite not ignored on Windows
Дата
Msg-id 20210.1425916707@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Object files generated by ecpg test suite not ignored on Windows  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Object files generated by ecpg test suite not ignored on Windows  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 03/09/2015 11:31 AM, Michael Meskes wrote:
>> I don't have a Windows system to test on, but how come these files were
>> only created in the ecpg testsuite? With the global .gitignore not
>> mentioning *.obj it appears those files are not created anywhere else.
>> Is the build process different for the rest of the tree?

> The MSVC build creates project directories which contain all the .obj 
> files etc. The file locations for intermediate artefacts are quite 
> different from the way a Unix build works. There is an ignore rule for 
> these directories, which covers the .obj files there. But ecpg files are 
> generated like in Unix builds.

Ah.  That's lots more plausible than "no one's ever done any development
on Windows".  I can believe that not so many people have run the ecpg
tests there.

> Since we have a global ignore rule for .o 
> files it makes plenty of sense to have one for .obj files also. 
> Certainly better than have one rule for each ecpg test case.

Agreed.  So we should revert the previous patch ...
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Bootstrap DATA is a pita
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Rethinking the parameter access hooks for plpgsql's benefit