[Tile-serving] [openstreetmap/osm2pgsql] Tests: enable running tests inside pg_virtualenv (#892)

Sarah Hoffmann notifications at github.com
Wed Dec 26 17:14:28 UTC 2018


This mostly requires fixtures to create and destroy the test tablespace. pg_virtualenv itself needs to be wrapped around the call to ctest. The old way of running on the main database on the system still works as before.

Currently enabled for posix-like systems only. For travis only enabled for tests on Linux.

Fixes #234.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/892

-- Commit Summary --

  * tests: enable running tests inside pg_virtualenv
  * travis: switch to pg_virtualenv for testing

-- File Changes --

    M .travis.yml (22)
    M CONTRIBUTING.md (19)
    M tests/CMakeLists.txt (19)
    A tests/fixture-tablespace-cleanup (11)
    A tests/fixture-tablespace-setup (25)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/892.patch
https://github.com/openstreetmap/osm2pgsql/pull/892.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/892
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20181226/f6038761/attachment.html>


More information about the Tile-serving mailing list