From 39122f04202548d4419e7072c99e07fad41a4579 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 22 Apr 2016 03:07:19 +0200 Subject: [PATCH] Makefile: split rules for test_python / test_python_osx --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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: -- 2.11.0