From: Paul Brossier Date: Fri, 22 Apr 2016 01:07:19 +0000 (+0200) Subject: Makefile: split rules for test_python / test_python_osx X-Git-Tag: 0.4.4~300^2~256 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=39122f04202548d4419e7072c99e07fad41a4579;p=aubio.git Makefile: split rules for test_python / test_python_osx --- diff --git a/Makefile b/Makefile index b03e2f26..b8d6c628 100644 --- a/Makefile +++ b/Makefile @@ -25,9 +25,14 @@ build_python: cd python && ./setup.py build test_python: + cd python && pip install -v . + LD_LIBRARY_PATH=$(PWD)/build/src python/tests/run_all_tests + 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 - LD_LIBRARY_PATH=$(PWD)/build/src python/tests/run_all_tests + ./python/tests/run_all_tests cd python && pip uninstall -y -v aubio clean_python: