X-Git-Url: https://git.aubio.org/?p=aubio.git;a=blobdiff_plain;f=Makefile;h=a21c0d63eb1f0dba2af09b9e61c59f8f0abbed83;hp=0f81a416f2647bb96c6cb94fb1e673f2ce441369;hb=adc6e02ecf2d72a827822e7d09b519434e66376a;hpb=bde4f641feff4cabff716064342ce600d762ce4d diff --git a/Makefile b/Makefile index 0f81a416..a21c0d63 100644 --- a/Makefile +++ b/Makefile @@ -35,8 +35,8 @@ INCLUDEDIR?=$(PREFIX)/include DATAROOTDIR?=$(PREFIX)/share MANDIR?=$(DATAROOTDIR)/man -# default nose2 command -NOSE2?=nose2 -N 4 --verbose +# default python test command +PYTEST?=pytest --verbose SOX=sox @@ -140,9 +140,7 @@ test_python: export LD_LIBRARY_PATH=$(DESTDIR)/$(LIBDIR) test_python: export PYTHONPATH=$(PYDESTDIR)/$(LIBDIR) test_python: local_dylib # run test with installed package - # ./python/tests/run_all_tests --verbose - # run with nose2, multiple processes - $(NOSE2) + $(PYTEST) clean_python: ./setup.py clean @@ -253,7 +251,7 @@ coverage: force_uninstall_python deps_python \ # build and test python pip install -v -e . # run tests, with python coverage - coverage run `which nose2` + coverage run `which pytest` # capture coverage again lcov $(LCOVOPTS) --capture --no-external --directory . \ --output-file build/coverage_python.info