Changeset 639bf5e


Ignore:
Timestamp:
Sep 17, 2017, 10:31:37 PM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
Children:
39b686c
Parents:
dfa4095
Message:

Makefile: add coverage target

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rdfa4095 r639bf5e  
    235235        check_clean_python
    236236
     237coverage: export CFLAGS=--coverage
     238coverage: export LDFLAGS=--coverage
     239coverage: force_uninstall_python deps_python \
     240        clean_python clean distclean
     241        pip install -v -e .
     242        coverage run `which nose2`
     243
     244coverage_report: coverage
     245        lcov --capture --no-external --directory . --output-file build/coverage.info
     246        genhtml build/coverage.info --output-directory lcov_html
     247        mkdir -p gcovr_html/
     248        gcovr -r . --html --html-details \
     249                --output gcovr_html/index.html \
     250                --exclude ".*tests/.*" --exclude ".*examples/.*"
     251        coverage report
     252        coverage html
     253
    237254sphinx: configure
    238255        $(WAFCMD) sphinx $(WAFOPTS)
Note: See TracChangeset for help on using the changeset viewer.