projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1ae5fc5
)
Makefile: build python against libaubio to get all coverage
author
Paul Brossier
<piem@piem.org>
Sat, 30 Sep 2017 15:48:49 +0000
(17:48 +0200)
committer
Paul Brossier
<piem@piem.org>
Sat, 30 Sep 2017 15:48:49 +0000
(17:48 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
7a9de9b
..
f8af602
100644
(file)
--- 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 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 \
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`
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
coverage_report: coverage
genhtml build/coverage.info --output-directory lcov_html