Makefile: invoke nose2 to run python tests
authorPaul Brossier <piem@piem.org>
Sat, 30 Apr 2016 05:20:28 +0000 (07:20 +0200)
committerPaul Brossier <piem@piem.org>
Sat, 30 Apr 2016 05:20:28 +0000 (07:20 +0200)
Makefile

index af85bb5..73af21c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,13 +32,13 @@ build_python:
 
 test_python:
        cd python && pip install -v .
-       LD_LIBRARY_PATH=$(PWD)/build/src python/tests/run_all_tests --verbose
+       cd python && LD_LIBRARY_PATH=$(PWD)/build/src nose2 --verbose
        cd python && pip uninstall -y -v aubio
 
 test_python_osx:
        cd python && pip install --user -v .
        [ -f build/src/libaubio.[0-9].dylib ] && ( mkdir -p ~/lib && cp -prv build/src/libaubio.4.dylib ~/lib ) || true
-       ./python/tests/run_all_tests --verbose
+       cd python && nose2 --verbose
        cd python && pip uninstall -y -v aubio
 
 clean_python: