ref: 39122f04202548d4419e7072c99e07fad41a4579
parent: d1a7a90a1401f4006d45af469daab402cbaa1d34
author: Paul Brossier <piem@piem.org>
date: Thu Apr 21 23:07:19 EDT 2016
Makefile: split rules for test_python / test_python_osx
--- a/Makefile
+++ b/Makefile
@@ -25,9 +25,14 @@
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: