Skip to content

Commit

Permalink
Merge pull request #1571 from elemoine/pgpointcloud
Browse files Browse the repository at this point in the history
Add note to docs about pgpointcloud tests
  • Loading branch information
abellgithub committed Apr 18, 2017
2 parents 284af8a + 82a09ec commit 1f94a28
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/development/testing.rst
Expand Up @@ -312,6 +312,18 @@ the available flags type::
Key among these flags are the ability to list tests (``--gtest_list_tests``)
and to run only select tests (``--gtest_filter``).

.. note::

If the PostgreSQL PointCloud plugin was enabled on the CMake command line
(with ``-DBUILD_PLUGIN_PGPOINTCLOUD=ON``) then `ctest` will attempt to run
the ``pgpointcloud`` tests. And you will get PostgreSQL connection errors
if the `libpq environment variables`_ are not correctly set in your shell.
This is for example how you can run the ``pgpointcloud`` tests::

$ PGUSER=pdal PGPASSWORD=pdal PGHOST=localhost ctest -R pgpointcloudtest

.. _`libpg environment variables`: https://www.postgresql.org/docs/current/static/libpq-envars.html

Test Data
=========

Expand Down

0 comments on commit 1f94a28

Please sign in to comment.