Permalink
Browse files

moved coverage report script to extras/

  • Loading branch information...
1 parent 432251b commit 87aa63da2bad57cb3a3e6dd1825c8dde9b62b2e1 @pablohoffman pablohoffman committed Dec 15, 2010
Showing with 7 additions and 13 deletions.
  1. +0 −13 Makefile.buildbot
  2. +7 −0 extras/coverage-report.sh
View
@@ -1,21 +1,8 @@
TRIAL := $(shell which trial)
-COVERAGE_DIR ?= "htmlcov"
deb:
python extras/makedeb.py build
deb-clean:
debclean
python extras/makedeb.py clean
-
-# Generate coverage reports
-# Requires: coverage 3.3 or above from http://pypi.python.org/pypi/coverage
-coverage-report:
- coverage run --branch ${TRIAL} --reporter=text scrapy.tests
- coverage html -i -d "${COVERAGE_DIR}"
-
-coverage-view: coverage-report
- python -m webbrowser "${COVERAGE_DIR}"
-
-coverage-clean:
- rm -rf .coverage "${COVERAGE_DIR}"
@@ -0,0 +1,7 @@
+# Run tests, generate coverage report and open it on a browser
+#
+# Requires: coverage 3.3 or above from http://pypi.python.org/pypi/coverage
+
+coverage run --branch $(which trial) --reporter=text scrapy.tests
+coverage html -i
+python -m webbrowser htmlcov/index.html

0 comments on commit 87aa63d

Please sign in to comment.