Changeset bfbfafa for Makefile


Ignore:
Timestamp:
Oct 3, 2017, 10:31:12 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:
2e5c52e
Parents:
7b7a58e (diff), 25db68c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into dct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r7b7a58e rbfbfafa  
    3636MANDIR?=$(DATAROOTDIR)/man
    3737
     38# default nose2 command
     39NOSE2?=nose2 -N 4 --verbose
     40
    3841SOX=sox
    3942
     
    136139test_python: local_dylib
    137140        # run test with installed package
    138         ./python/tests/run_all_tests --verbose
    139         # also run with nose, multiple processes
    140         nose2 -N 4
     141        # ./python/tests/run_all_tests --verbose
     142        # run with nose2, multiple processes
     143        $(NOSE2)
    141144
    142145clean_python:
     
    232235        check_clean_python
    233236
     237coverage: export CFLAGS=--coverage
     238coverage: export LDFLAGS=--coverage
     239coverage: export PYTHONPATH=$(PWD)/python/lib
     240coverage: export LD_LIBRARY_PATH=$(PWD)/build/src
     241coverage: force_uninstall_python deps_python \
     242        clean_python clean distclean build local_dylib
     243        lcov --capture --no-external --directory . --output-file build/coverage_lib.info
     244        pip install -v -e .
     245        coverage run `which nose2`
     246        lcov --capture --no-external --directory . --output-file build/coverage_python.info
     247        lcov -a build/coverage_python.info -a build/coverage_lib.info -o build/coverage.info
     248
     249coverage_report: coverage
     250        genhtml build/coverage.info --output-directory lcov_html
     251        mkdir -p gcovr_html/
     252        gcovr -r . --html --html-details \
     253                --output gcovr_html/index.html \
     254                --exclude ".*tests/.*" --exclude ".*examples/.*"
     255        coverage report
     256        coverage html
     257
    234258sphinx: configure
    235259        $(WAFCMD) sphinx $(WAFOPTS)
Note: See TracChangeset for help on using the changeset viewer.