summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-11-10 14:03:29 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-11-10 23:37:04 +0100
commitad40581142ca1e26406b0048b78d43ce54a5a2ff (patch)
tree2cde68912a6a0f6a71de26d74be3ff61372f391f /source4
parentd84ba4fc0a28b481229c57754deb3dcacf61ed93 (diff)
downloadsamba-ad40581142ca1e26406b0048b78d43ce54a5a2ff.tar.gz
samba-ad40581142ca1e26406b0048b78d43ce54a5a2ff.tar.bz2
samba-ad40581142ca1e26406b0048b78d43ce54a5a2ff.zip
subunitrun: Add notes about subunitrun being deprecated.
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/scripting/bin/subunitrun12
1 files changed, 12 insertions, 0 deletions
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 <jelmer@samba.org> 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):