Fixed #12364: Added graceful exit from a test run when Ctrl-C is pressed. Thanks Randy Barlow.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Karen Tracey 2009-12-31 18:48:28 +00:00
parent c35868ab9b
commit 9a55432213
4 changed files with 61 additions and 15 deletions

View file

@ -812,12 +812,10 @@ test <app or test identifier>
Runs tests for all installed models. See :ref:`topics-testing` for more
information.
--failfast
~~~~~~~~~~
.. versionadded:: 1.2
.. django-admin-option:: --failfast
Use the ``--failfast`` option to stop running tests and report the failure
Use the :djadminopt:`--failfast` option to stop running tests and report the failure
immediately after a test fails.
testserver <fixture fixture ...>