Skip to content

Commit 10d667c

Browse files
authored
Merge pull request #132 from bnavigator/testing-readme
Enhance testing section in README
2 parents 0105fa1 + 6039956 commit 10d667c

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ you'll have to choose the right recipe directory.
9191
On Linux you can choose between ``conda-recipe-openblas`` and
9292
``conda-recipe-mkl``
9393

94-
On macOS you should use ``conda-recipe-apple``. See the
94+
On macOS you should use ``conda-recipe-apple``. See the
9595
`conda-build documentation`_ how to get the required macOS SDK.
9696

9797
.. _conda-build documentation: https://docs.conda.io/projects/conda-build/en/latest/resources/compiler-tools.html#macos-sdk
@@ -129,9 +129,16 @@ install Slycot (this example creates a Python 3.8 environment)::
129129
conda activate build-slycot
130130

131131
python setup.py install
132-
pytest
133132

134-
The final ``pytest`` command is optional; it runs the Slycot unit tests.
133+
Testing
134+
~~~~~~~
135+
To test if the installation was successful, you can run the slycot unit tests::
136+
137+
pytest --pyargs slycot
138+
139+
Running ``pytest`` without ``--pyargs slycot`` from inside the source directory
140+
will fail, unless either ``setup.cfg`` or the compiled wrapper library have
141+
been installed into that directory.
135142

136143
General notes on compiling
137144
~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)