Browse Source

'make test' and 'make install-test' independent

pull/4/head
heck 5 years ago
parent
commit
9abb0dd46d
  1. 3
      Makefile
  2. 10
      docs/source/install.rst

3
Makefile

@ -58,7 +58,8 @@ install-test: compile
pip3 install .[test]
# TODO: maybe use setup.py test?
test: install-test
# --forked, because every test needs a separate process, see PYADPT-100
test:
pytest --forked

10
docs/source/install.rst

@ -73,12 +73,16 @@ To install the extension module into your home dir, use:
Test
----
To run the whole testsuite you need to create/activate the venv, and then invoke the make target 'test'.
You can do this from a clean clone of the repo, no prior actions required, the whole module and all dependencies
will be compiled and installed into the venv.
To run the whole testsuite you need to first create/activate the venv:
``make venv``
then install the test-dependencies:
``make install-test``
And finally run the test-suite:
``make test``

Loading…
Cancel
Save