summaryrefslogtreecommitdiff
path: root/selftest/selftesthelpers.py
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-14 12:21:38 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-14 14:11:28 +0100
commit77c73f1d925781a6afe64bd60c0e2438957c7a31 (patch)
tree35137b59c6336f78f519e5b3e453fc4f66c11774 /selftest/selftesthelpers.py
parent72cabbbe50a36986dde823f0ba60abf9052c535a (diff)
downloadsamba-77c73f1d925781a6afe64bd60c0e2438957c7a31.tar.gz
samba-77c73f1d925781a6afe64bd60c0e2438957c7a31.tar.bz2
samba-77c73f1d925781a6afe64bd60c0e2438957c7a31.zip
selftest: planpythontestsuite() should fill 'name' is it's None
Otherwise make test shows tests with name "None". metze
Diffstat (limited to 'selftest/selftesthelpers.py')
-rw-r--r--selftest/selftesthelpers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/selftest/selftesthelpers.py b/selftest/selftesthelpers.py
index a7924d60f4..a63dc98c64 100644
--- a/selftest/selftesthelpers.py
+++ b/selftest/selftesthelpers.py
@@ -159,6 +159,8 @@ def planperltestsuite(name, path):
def planpythontestsuite(env, module, name=None, extra_path=[]):
+ if name is None:
+ name = module
pypath = list(extra_path)
if not has_system_subunit_run:
pypath.extend(["%s/lib/subunit/python" % srcdir(),