From ad40581142ca1e26406b0048b78d43ce54a5a2ff Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 10 Nov 2011 14:03:29 +0100 Subject: subunitrun: Add notes about subunitrun being deprecated. --- source4/scripting/bin/subunitrun | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source4/scripting') diff --git a/source4/scripting/bin/subunitrun b/source4/scripting/bin/subunitrun index 9c87d2eca3..dd4290da8b 100755 --- a/source4/scripting/bin/subunitrun +++ b/source4/scripting/bin/subunitrun @@ -1,6 +1,15 @@ #!/usr/bin/env python # Simple subunit testrunner for python + +# NOTE: This is deprecated - Using the standard subunit runner is +# preferred - e.g. "python -m subunit.run YOURMODULE". +# +# This wrapper will be removed once all tests can be run +# without it. At the moment there are various tests which still +# get e.g. credentials passed via command-line options to this +# script. + # Copyright (C) Jelmer Vernooij 2007 # # This program is free software; you can redistribute it and/or modify @@ -44,6 +53,9 @@ samba.tests.MODULE. For example, to run the tests in common.py: To list the tests in that module, use: subunitrun -l samba.tests.common + +NOTE: This script is deprecated in favor of "python -m subunit.run". Don't use +it unless it can be avoided. ''' def format_description(formatter): -- cgit