make check For Extensions

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: make check For Extensions
Date: 2014-06-10 18:02:24
Message-ID: 3B4ED15A-9BD4-428F-BC75-F86AAC0D8FBB@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 that it would initialize a temporary cluster, start it on an open port, install an extension, and run the extension's test suite. 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 on a temporary cluster?

Thanks,

David

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2014-06-10 18:04:45 Re: Why is it "JSQuery"?
Previous Message Tom Lane 2014-06-10 18:00:49 Re: Getting “make: Entering an unknown directory” error while building postgresql on MIPS platform