[rhel6-branch 7/30] Omit coverage target in Makefile.
mulkieran
installerbot-noreply at redhat.com
Thu May 28 21:04:12 UTC 2015
From: Anne Mulhern <amulhern at redhat.com>
It's not possible to run modules with -m in Python and coverage tool
can not do that either.
Signed-off-by: Anne Mulhern <amulhern at redhat.com>
---
Makefile | 6 ------
1 file changed, 6 deletions(-)
diff --git a/Makefile b/Makefile
index afd6f07..e8cf525 100644
--- a/Makefile
+++ b/Makefile
@@ -29,12 +29,6 @@ test:
@echo "*** Running unittests ***"
PYTHONPATH=.:tests/ unit2 discover -v -s tests/ -p '*_test.py'
-coverage:
- @which coverage || (echo "*** Please install python-coverage ***"; exit 2)
- @echo "*** Running unittests with coverage ***"
- PYTHONPATH=.:tests/ coverage run --branch -m unittest discover -v -s tests/ -p '*_test.py'
- coverage report --include="blivet/*"
-
clean:
-rm *.tar.gz blivet/*.pyc blivet/*/*.pyc ChangeLog
$(MAKE) -C po clean
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/e643a99c7a22028ac65087f39d766ed34634c015
More information about the anaconda-patches
mailing list