diff options
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/selftesthelpers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/selftest/selftesthelpers.py b/selftest/selftesthelpers.py index b22330ae0a..ae0a756823 100644 --- a/selftest/selftesthelpers.py +++ b/selftest/selftesthelpers.py @@ -186,6 +186,7 @@ configuration = "--configfile=$SMB_CONF_PATH" smbtorture4 = binpath("smbtorture4") smbtorture4_testsuite_list = subprocess.Popen([smbtorture4, "--list-suites"], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate("")[0].splitlines() + def plansmbtorture4testsuite(name, env, options, modname=None): if modname is None: modname = "samba4.%s" % name @@ -194,5 +195,6 @@ def plansmbtorture4testsuite(name, env, options, modname=None): 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) |