[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.9-140-g5ccf988
Sandro Tosi
morph at debian.org
Thu Dec 2 00:07:02 UTC 2010
The following commit has been merged in the master branch:
commit fb284f592d8a2676a2b31ddcb1fca53bafaccae0
Author: Sandro Tosi <morph at debian.org>
Date: Thu Sep 2 14:14:02 2010 +0200
added make target for tests and coverage
diff --git a/Makefile b/Makefile
index 8afbfae..e41a111 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,16 @@
#! /usr/bin/make -f
+NOSETESTS = nosetests tests -v
+nosetests_cmd = $(NOSETESTS) ${NOSETESTS_OPTS}
+
.PHONY: checks
checks:
PYTHONPATH=. $(PYTHON) checks/compare_pseudo-pkgs_lists.py
+
+.PHONY: tests
+tests:
+ $(nosetests_cmd)
+
+coverage: NOSETESTS_OPTS += --with-coverage --cover-package=reportbug
+coverage:
+ $(nosetests_cmd)
\ No newline at end of file
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list