diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-10-26 13:03:32 -0800 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-10-27 05:16:18 -0800 |
commit | 4c4d3c86f0430d38f78d16dcb5d365b577ef4227 (patch) | |
tree | 6de9de4611e956f25721ffed7e1aa2a3d95dad67 /source4/selftest | |
parent | 868c8c058306b66fb3baa4a36bfe91d6461805d5 (diff) | |
download | samba-4c4d3c86f0430d38f78d16dcb5d365b577ef4227.tar.gz samba-4c4d3c86f0430d38f78d16dcb5d365b577ef4227.tar.bz2 samba-4c4d3c86f0430d38f78d16dcb5d365b577ef4227.zip |
selftesthelpers: Share code for listing smbtorture4 tests.
Diffstat (limited to 'source4/selftest')
-rwxr-xr-x | source4/selftest/tests.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index bbfeaac6f1..7f10cd1652 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -25,8 +25,6 @@ import subprocess samba4srcdir = source4dir() samba4bindir = bindir() -smbtorture4 = binpath("smbtorture4") -smbtorture4_testsuite_list = subprocess.Popen([smbtorture4, "--list-suites"], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate("")[0].splitlines() validate = os.getenv("VALIDATE", "") if validate: validate_list = [validate] @@ -36,17 +34,6 @@ else: nmblookup = binpath('nmblookup4') smbclient = binpath('smbclient4') -def plansmbtorture4testsuite(name, env, options, modname=None): - if modname is None: - modname = "samba4.%s" % name - if isinstance(options, list): - options = " ".join(options) - cmdline = "%s $LISTOPT %s %s" % (valgrindify(smbtorture4), options, name) - plantestsuite_loadlist(modname, env, cmdline) - -def smbtorture4_testsuites(prefix): - return filter(lambda x: x.startswith(prefix), smbtorture4_testsuite_list) - subprocess.call([smbtorture4, "-V"], stdout=sys.stderr) bbdir = os.path.join(srcdir(), "testprogs/blackbox") |