From: Paul Brossier Date: Sat, 30 Sep 2017 15:48:49 +0000 (+0200) Subject: Makefile: build python against libaubio to get all coverage X-Git-Tag: 0.4.6~14 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=a2b6523e921bb0e30812d73386b3ded412aaa648;p=aubio.git Makefile: build python against libaubio to get all coverage --- diff --git a/Makefile b/Makefile index 7a9de9b6..f8af602e 100644 --- a/Makefile +++ b/Makefile @@ -237,11 +237,14 @@ test_python_only_clean: test_python_only \ coverage: export CFLAGS=--coverage coverage: export LDFLAGS=--coverage coverage: export PYTHONPATH=$(PWD)/python/lib +coverage: export LD_LIBRARY_PATH=$(PWD)/build/src coverage: force_uninstall_python deps_python \ - clean_python clean distclean + clean_python clean distclean build local_dylib + lcov --capture --no-external --directory . --output-file build/coverage_lib.info pip install -v -e . coverage run `which nose2` - lcov --capture --no-external --directory . --output-file build/coverage.info + lcov --capture --no-external --directory . --output-file build/coverage_python.info + lcov -a build/coverage_python.info -a build/coverage_lib.info -o build/coverage.info coverage_report: coverage genhtml build/coverage.info --output-directory lcov_html