[Git][reproducible-builds/diffoscope][master] Add a note to the "Contributing" page to suggest enable concurrency when running the tests locally.
Chris Lamb
gitlab at salsa.debian.org
Mon Jan 6 17:59:45 UTC 2020
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
9d88cda1 by Chris Lamb at 2020-01-06T17:59:10+00:00
Add a note to the "Contributing" page to suggest enable concurrency when running the tests locally.
- - - - -
1 changed file:
- CONTRIBUTING.rst
Changes:
=====================================
CONTRIBUTING.rst
=====================================
@@ -21,8 +21,9 @@ Testing
=======
diffoscope's test suite relies on `pytest <https://docs.pytest.org/>`__;
-to run all tests use ``pytest[-3]``. For faster interactive development
-here's an example of how to run a (much) smaller subset of tests:
+to run all tests use ``pytest[-3]``, appending ``-n 4`` or similar to enable
+running tests concurrently. For faster interactive development here's an
+example of how to run a (much) smaller subset of tests:
pytest -v --exitfirst -k lib tests/comparators/test_elf.pyc [ --pdb ]
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/9d88cda12d2db6972b5e4c9c950a7abb312bbd26
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/9d88cda12d2db6972b5e4c9c950a7abb312bbd26
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200106/ce14229b/attachment.htm>
More information about the rb-commits
mailing list