Feature request #14268

Automatically create PostgreSQL test database on "make check"

Added by Sandro Santilli about 1 year ago.

Status:Open Start Date:02/10/2016
Priority:Normal Due date:
Assigned to:- % Done:


Target version:Future Release - Lower Priority
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:postgis


Right now it takes configuring the build with -DENABLE_PGTEST=ON and manually creating and initializing a test database, for postgresql/postgis tests to run.

This ticket is to request enhancing the code so that the database is created and initialized automatically as part of running the tests that make use of it. Additionally, ENABLE_PGTEST should be automatically set to ON whenever it is found to be possible to create and initialize such database and ENABLE_TESTS is set to ON.

Also available in: Atom