Changes in Makefile [adde1ba:9a1df7f]
Legend:
- Unmodified
- Added
- Removed
-
Makefile
radde1ba r9a1df7f 36 36 MANDIR?=$(DATAROOTDIR)/man 37 37 38 # default nose2command39 NOSE2?=nose2 -N 4--verbose38 # default python test command 39 PYTEST?=pytest --verbose 40 40 41 41 SOX=sox … … 139 139 test_python: local_dylib 140 140 # run test with installed package 141 # ./python/tests/run_all_tests --verbose 142 # run with nose2, multiple processes 143 $(NOSE2) 141 $(PYTEST) 144 142 145 143 clean_python: … … 235 233 check_clean_python 236 234 237 coverage_cycle: coverage_zero_counters coverage_report238 239 coverage_zero_counters:240 lcov --zerocounters --directory .241 242 235 coverage: export CFLAGS=--coverage 243 236 coverage: export LDFLAGS=--coverage … … 248 241 lcov --capture --no-external --directory . --output-file build/coverage_lib.info 249 242 pip install -v -e . 250 coverage run `which nose2`243 coverage run `which pytest` 251 244 lcov --capture --no-external --directory . --output-file build/coverage_python.info 252 245 lcov -a build/coverage_python.info -a build/coverage_lib.info -o build/coverage.info 253 246 254 # make sure we don't build the doc, which builds a temporary python module255 coverage_report: export WAFOPTS += --disable-docs256 247 coverage_report: coverage 257 248 genhtml build/coverage.info --output-directory lcov_html
Note: See TracChangeset
for help on using the changeset viewer.