summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):