Merge support for lazy loading packs.
[jelmer/dulwich-libgit2.git] / Makefile
index ec229b776eaf39517d47a8dabe2d64b7e8f49d53..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