[mousetrap/gnome3-wip: 221/240] Fix options to coverage to include all and only mousetrap files.
- From: Heidi Ellis <heidiellis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mousetrap/gnome3-wip: 221/240] Fix options to coverage to include all and only mousetrap files.
- Date: Mon, 8 Sep 2014 15:31:08 +0000 (UTC)
commit 7facdf28fdea8fbd42d9c5366710a06b0a218f7a
Author: Stoney Jackson <dr stoney gmail com>
Date: Mon Jun 30 13:39:15 2014 -0400
Fix options to coverage to include all and only mousetrap files.
Makefile.am | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 9356a48..45d6e84 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -125,8 +125,10 @@ MT_BUILD_TESTS = $(shell find "$(MT_BUILD_HOME)/mousetrap" -name "run_python_tes
check-local:
if command -v coverage >/dev/null 2>&1 ; then \
PYTHONPATH="$(MT_BUILD_HOME)" \
- coverage run --include="*/mousetrap/*" \
- --omit="*/__init__.py","*/test_*.py","*/run_python_tests.py" \
+ coverage run \
+ --branch \
+ --source="$(MT_BUILD_HOME)" \
+ --omit="*/__init__.py","*/test_*.py","*/run_python_tests.py" \
"$(MT_BUILD_TESTS)"; \
coverage report ; \
else \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]