make check For Extensions

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема make check For Extensions
Дата
Msg-id 3B4ED15A-9BD4-428F-BC75-F86AAC0D8FBB@justatheory.com
обсуждение исходный текст
Ответы Re: make check For Extensions
Список pgsql-hackers
Hackers,

Andres said during the unconference last month that there was a way to get `make check` to work with PGXS. The idea is
thatit would initialize a temporary cluster, start it on an open port, install an extension, and run the extension's
testsuite. I think the pg_regress --temp-install, maybe? I poked through the PGXS makefiles, and although it looks like
there*might* be something like this for in-core contrib extensions, but not for externally-distributed extensions. 

Is there something I could add to my extension Makefiles so that `make check` or `make test` will do a pre-install test
ona temporary cluster? 

Thanks,

David


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Getting “make: Entering an iso-8859-1 directory” error while building postgresql on MIPS platform
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Why is it "JSQuery"?