diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-12-09 15:41:17 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-12-10 03:04:06 +0100 |
commit | 028ea57e554e04dcc891786f32cf79c6587d1708 (patch) | |
tree | 4bef9993e68dc1bd13f86bedf3157fad3aea2236 | |
parent | 069ff146cb13b5bb6655b9d47540ab5ea9f6183e (diff) | |
download | samba-028ea57e554e04dcc891786f32cf79c6587d1708.tar.gz samba-028ea57e554e04dcc891786f32cf79c6587d1708.tar.bz2 samba-028ea57e554e04dcc891786f32cf79c6587d1708.zip |
selftest: Allow discovering tests in pure python testsuites.
-rwxr-xr-x | source4/selftest/tests.py | 4 |
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): |