Changeset 1669:7199091e3f2a


Ignore:
Timestamp:
Oct 8, 2017, 7:46:05 PM (14 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Refactor test invocation

Let the former `test` target run only fast tests for faster turnaround
during development.

To run all tests, including the slow tests, add a new target
`all_tests`.

For symmetry with `all_tests`, add a new target `tests`, which is an
alias for the changed target `test`.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r1668 r1669  
    6565# Quality assurance
    6666test:
    67         @echo "=== Running tests for ftputil ${VERSION} ===\n"
     67        @echo "=== Running fast tests for ftputil ${VERSION} ===\n"
     68        ${PYTEST} -m "not slow_test" test
     69
     70# Alternative for symmetry with target `all_tests`
     71tests: test
     72
     73all_tests:
     74        @echo "=== Running all tests for ftputil ${VERSION} ===\n"
    6875        ${PYTEST} test
    6976
     
    8693        ${PYTHON_BINARY} setup.py sdist
    8794
    88 extdist: test dist register
     95extdist: all_tests dist register
    8996
    9097# Upload package to PyPI.
Note: See TracChangeset for help on using the changeset viewer.