Fixed #12910 - Only test extracting translation strings if xgettext can be found on PATH.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2010-02-21 23:45:04 +00:00
parent 7f5d9ad661
commit 8e1a4bd677
3 changed files with 127 additions and 95 deletions

View file

@ -858,6 +858,7 @@ dependencies:
* setuptools_
* memcached_, plus the either the python-memcached_ or cmemcached_
Python binding
* gettext_ (:ref:`gettext_on_windows`)
If you want to test the memcached cache backend, you will also need to define
a :setting:`CACHE_BACKEND` setting that points at your memcached instance.
@ -873,6 +874,7 @@ associated tests will be skipped.
.. _memcached: http://www.danga.com/memcached/
.. _python-memcached: http://pypi.python.org/pypi/python-memcached/
.. _cmemcached: http://gijsbert.org/cmemcache/index.html
.. _gettext: http://www.gnu.org/software/gettext/manual/gettext.html
To run a subset of the unit tests, append the names of the test modules to the
``runtests.py`` command line. See the list of directories in