From 028ea57e554e04dcc891786f32cf79c6587d1708 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 9 Dec 2010 15:41:17 +0100 Subject: selftest: Allow discovering tests in pure python testsuites. --- source4/selftest/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/selftest') 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): -- cgit