diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-11-14 12:21:38 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-11-14 14:11:28 +0100 |
commit | 77c73f1d925781a6afe64bd60c0e2438957c7a31 (patch) | |
tree | 35137b59c6336f78f519e5b3e453fc4f66c11774 | |
parent | 72cabbbe50a36986dde823f0ba60abf9052c535a (diff) | |
download | samba-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
-rw-r--r-- | selftest/selftesthelpers.py | 2 |
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(), |