Permalink
Browse files

Add 'make check-compat'.

  • Loading branch information...
jelmer committed Aug 26, 2012
1 parent 1b98bf9 commit 7750cc600f05a1f0280487993c9d090c2764d198
Showing with 10 additions and 0 deletions.
  1. +3 −0 Makefile
  2. +7 −0 dulwich/tests/__init__.py
View
@@ -33,6 +33,9 @@ check-tutorial:: build
check-nocompat:: build
$(RUNTEST) dulwich.tests.nocompat_test_suite
+check-compat:: build
+ $(RUNTEST) dulwich.tests.compat_test_suite
+
check-pypy:: clean
$(MAKE) check-noextensions PYTHON=pypy
@@ -161,6 +161,13 @@ def nocompat_test_suite():
return result
+def compat_test_suite():
+ result = unittest.TestSuite()
+ from dulwich.tests.compat import test_suite as compat_test_suite
+ result.addTests(compat_test_suite())
+ return result
+
+
def test_suite():
result = unittest.TestSuite()
result.addTests(self_test_suite())

0 comments on commit 7750cc6

Please sign in to comment.