ref: 9682d9d2d200d514f372ff3317f3445e2b5d2477
parent: 1910fed68ea20cbfa2299fde2c5f60b9a0942ee1
author: Paul Brossier <piem@piem.org>
date: Fri Dec 16 07:26:48 EST 2016
doc/requirements.rst: add a note about --notests (closes #77)
--- a/doc/requirements.rst
+++ b/doc/requirements.rst
@@ -204,6 +204,19 @@
To compile aubio in single precision mode, use ``--disable-double`` (default).
+Disabling the tests
+...................
+
+In some case, for instance when cross-compiling, unit tests should not be run.
+Option ``--notests`` can be used for this purpose. The tests will not be
+executed, but the binaries will be compiled, ensuring that linking against
+libaubio works as expected.
+
+.. note::
+
+ The ``--notests`` option should be passed to both ``build`` and ``install``
+ targets, otherwise waf will try to run them.
+
Edit wscript
............