Merge support for lazy loading packs.
[jelmer/dulwich-libgit2.git] / Makefile
index d88077b816d10bc9f72af3e64dbab61659bc6656..aea43348b082023ee005478821a795a2e4948d6a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,9 @@ PYTHON = python
 SETUP = $(PYTHON) setup.py
 PYDOCTOR ?= pydoctor
 TESTRUNNER = $(shell which nosetests)
+TESTFLAGS =
 
-all: build 
+all: build
 
 doc:: pydoctor
 
@@ -19,9 +20,13 @@ install::
 
 check:: build
        PYTHONPATH=. $(PYTHON) $(TESTRUNNER) dulwich
+       which git > /dev/null && PYTHONPATH=. $(PYTHON) $(TESTRUNNER) $(TESTFLAGS) -i compat
 
 check-noextensions:: clean
-       PYTHONPATH=. $(PYTHON) $(TESTRUNNER) dulwich
+       PYTHONPATH=. $(PYTHON) $(TESTRUNNER) $(TESTFLAGS) dulwich
+
+check-compat:: build
+       PYTHONPATH=. $(PYTHON) $(TESTRUNNER) $(TESTFLAGS) -i compat
 
 clean::
        $(SETUP) clean --all
@@ -29,3 +34,6 @@ clean::
 
 coverage:: build
        PYTHONPATH=. $(PYTHON) $(TESTRUNNER) --cover-package=dulwich --with-coverage --cover-erase --cover-inclusive dulwich
+
+coverage-annotate: coverage
+       python-coverage -a -o /usr