瀏覽代碼

Run all tests in ``setup.py test``.

Jelmer Vernooij 12 年之前
父節點
當前提交
c04a29d201
共有 2 個文件被更改,包括 5 次插入1 次删除
  1. 4 0
      NEWS
  2. 1 1
      setup.py

+ 4 - 0
NEWS

@@ -14,6 +14,10 @@
     slightly different behaviour on various platforms.
     (Jelmer Vernooij)
 
+  * ``setup.py test`` (available when setuptools is installed) now
+    runs all tests, not just the basic unit tests.
+    (Jelmer Vernooij)
+
  BUG FIXES
 
   * Commit._deserialize now actually deserializes the current state rather than

+ 1 - 1
setup.py

@@ -52,7 +52,7 @@ if sys.platform == 'darwin' and os.path.exists('/usr/bin/xcodebuild'):
 setup_kwargs = {}
 
 if has_setuptools:
-    setup_kwargs['test_suite'] = 'dulwich.tests'
+    setup_kwargs['test_suite'] = 'dulwich.tests.test_suite'
 
 setup(name='dulwich',
       description='Python Git Library',