mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
s4-tests: Allow listing tests run for iconv.
This commit is contained in:
parent
11a77fe2d7
commit
6321d5bf97
@ -33,8 +33,9 @@ if validate:
|
|||||||
else:
|
else:
|
||||||
validate_list = []
|
validate_list = []
|
||||||
|
|
||||||
def plansmbtorturetestsuite(name, env, options):
|
def plansmbtorturetestsuite(name, env, options, modname=None):
|
||||||
modname = "samba4.%s" % name
|
if modname is None:
|
||||||
|
modname = "samba4.%s" % name
|
||||||
cmdline = "%s $LISTOPT %s %s" % (valgrindify(smb4torture), options, name)
|
cmdline = "%s $LISTOPT %s %s" % (valgrindify(smb4torture), options, name)
|
||||||
plantestsuite_loadlist(modname, env, cmdline)
|
plantestsuite_loadlist(modname, env, cmdline)
|
||||||
|
|
||||||
@ -274,9 +275,9 @@ for t in smb4torture_testsuites("local."):
|
|||||||
|
|
||||||
# Confirm these tests with the system iconv too
|
# Confirm these tests with the system iconv too
|
||||||
for t in ["local.convert_string_handle", "local.convert_string", "local.ndr"]:
|
for t in ["local.convert_string_handle", "local.convert_string", "local.ndr"]:
|
||||||
modname = "samba4.%s.system.iconv" % t
|
options = "ncalrpc: --option='iconv:use_builtin_handlers=false'"
|
||||||
cmdline = "%s %s %s" % (valgrindify(smb4torture), "ncalrpc: --option='iconv:use_builtin_handlers=false'", t)
|
plansmbtorturetestsuite(t, "none", options,
|
||||||
plantestsuite_loadlist(modname, "none", cmdline)
|
modname="samba4.%s.system.iconv" % t)
|
||||||
|
|
||||||
tdbtorture4 = binpath("tdbtorture")
|
tdbtorture4 = binpath("tdbtorture")
|
||||||
if os.path.exists(tdbtorture4):
|
if os.path.exists(tdbtorture4):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user