summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-12-09 15:41:17 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-12-10 03:04:06 +0100
commit028ea57e554e04dcc891786f32cf79c6587d1708 (patch)
tree4bef9993e68dc1bd13f86bedf3157fad3aea2236 /source4
parent069ff146cb13b5bb6655b9d47540ab5ea9f6183e (diff)
downloadsamba-028ea57e554e04dcc891786f32cf79c6587d1708.tar.gz
samba-028ea57e554e04dcc891786f32cf79c6587d1708.tar.bz2
samba-028ea57e554e04dcc891786f32cf79c6587d1708.zip
selftest: Allow discovering tests in pure python testsuites.
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/selftest/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index 389bb5e9e2..c5a7b21b56 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -120,9 +120,9 @@ def planperltestsuite(name, path):
def planpythontestsuite(env, module):
if has_system_subunit_run:
- plantestsuite_idlist(module, env, [python, "-m", "subunit.run", module])
+ plantestsuite_idlist(module, env, [python, "-m", "subunit.run", "$LISTOPT", module])
else:
- plantestsuite_idlist(module, env, "PYTHONPATH=$PYTHONPATH:%s/../lib/subunit/python:%s/../lib/testtools %s -m subunit.run %s" % (samba4srcdir, samba4srcdir, python, module))
+ plantestsuite_idlist(module, env, "PYTHONPATH=$PYTHONPATH:%s/../lib/subunit/python:%s/../lib/testtools %s -m subunit.run $LISTOPT %s" % (samba4srcdir, samba4srcdir, python, module))
def plansmbtorturetestsuite(name, env, options):