git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72cabbb
)
selftest: planpythontestsuite() should fill 'name' is it's None
author
Stefan Metzmacher
<metze@samba.org>
Mon, 14 Nov 2011 11:21:38 +0000
(12:21 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 14 Nov 2011 13:11:28 +0000
(14:11 +0100)
Otherwise make test shows tests with name "None".
metze
selftest/selftesthelpers.py
patch
|
blob
|
history
diff --git
a/selftest/selftesthelpers.py
b/selftest/selftesthelpers.py
index a7924d60f42955bd54c61024e243311463cf3baa..a63dc98c64fdb5e9a8da19e80cf4edece8d2a9b5 100644
(file)
--- 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(),