Changeset 9a1df7f


Ignore:
Timestamp:
Nov 2, 2018, 6:00:04 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
Children:
7318485
Parents:
8ff31fb
Message:

[build] use pytest to run tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r8ff31fb r9a1df7f  
    3636MANDIR?=$(DATAROOTDIR)/man
    3737
    38 # default nose2 command
    39 NOSE2?=nose2 -N 4 --verbose
     38# default python test command
     39PYTEST?=pytest --verbose
    4040
    4141SOX=sox
     
    139139test_python: local_dylib
    140140        # run test with installed package
    141         $(NOSE2)
     141        $(PYTEST)
    142142
    143143clean_python:
     
    241241        lcov --capture --no-external --directory . --output-file build/coverage_lib.info
    242242        pip install -v -e .
    243         coverage run `which nose2`
     243        coverage run `which pytest`
    244244        lcov --capture --no-external --directory . --output-file build/coverage_python.info
    245245        lcov -a build/coverage_python.info -a build/coverage_lib.info -o build/coverage.info
Note: See TracChangeset for help on using the changeset viewer.