diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2019-12-12 17:17:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-12 17:17:18 +0100 |
commit | 2607200636eb01e4df5735ec311d3a69db5ed589 (patch) | |
tree | 0607f688a06e133a75addfd5d02d6bd5941339e3 /src/python/doc | |
parent | 5a5a534b840216719fb3f9cb819d1306ca7ed196 (diff) | |
parent | b884a620824a9d707cec82c9dddf7ab236263b95 (diff) |
Merge pull request #174 from VincentRouvreau/ctest_shall_output_failures
Fix #168 - Ctest shall output failures
Diffstat (limited to 'src/python/doc')
-rw-r--r-- | src/python/doc/installation.rst | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/python/doc/installation.rst b/src/python/doc/installation.rst index 54504413..50a697c7 100644 --- a/src/python/doc/installation.rst +++ b/src/python/doc/installation.rst @@ -83,20 +83,30 @@ Or install it definitely in your Python packages folder: .. code-block:: bash - python setup.py install --prefix /home/gudhi # Install in /home/gudhi directory + python setup.py install --prefix /home/gudhi # Install in /home/gudhi directory Test suites =========== -To test your build, `py.test <http://doc.pytest.org>`_ is optional. Run the -following command in a terminal: +To test your build, `py.test <http://doc.pytest.org>`_ is required. Run the +following `Ctest <https://cmake.org/cmake/help/latest/manual/ctest.1.html>`_ +(CMake test driver program) command in a terminal: .. code-block:: bash cd /path-to-gudhi/build/python # For windows, you have to set PYTHONPATH environment variable export PYTHONPATH='$PYTHONPATH:/path-to-gudhi/build/python' - make test + ctest + +.. note:: + + One can use :code:`ctest` specific options in the python directory: + +.. code-block:: bash + + # Launch tests in parallel on 8 cores and set failing tests in verbose mode + ctest -j 8 --output-on-failure Debugging issues ================ |