diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2014-10-26 20:17:20 -0700 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2014-11-30 14:22:05 +0100 |
commit | f6e3cd7f03a15595a2fa65c22a56c60d7d3f8bff (patch) | |
tree | f8e1e988650370d44aad24befc20cf5853b63a0c /selftest/selftesthelpers.py | |
parent | 13a1406fa11f4c7eb1996a5ac1e33c966b886082 (diff) | |
download | samba-f6e3cd7f03a15595a2fa65c22a56c60d7d3f8bff.tar.gz |
selftest: Drop support for TESTSUITE-IDLIST, and remove its last user.
Change-Id: Ic616676bb770fa4769195d73c4309915646caae0
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest/selftesthelpers.py')
-rw-r--r-- | selftest/selftesthelpers.py | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/selftest/selftesthelpers.py b/selftest/selftesthelpers.py index 502ba1079bc..984a5cf41b3 100644 --- a/selftest/selftesthelpers.py +++ b/selftest/selftesthelpers.py @@ -133,19 +133,6 @@ def plantestsuite_loadlist(name, env, cmdline): print "%s $LOADLIST 2>&1 | %s" % (cmdline, add_prefix(name, env, support_list)) -def plantestsuite_idlist(name, env, cmdline): - print "-- TEST-IDLIST --" - if env == "none": - fullname = name - else: - fullname = "%s(%s)" % (name, env) - print fullname - print env - if isinstance(cmdline, list): - cmdline = " ".join(cmdline) - print cmdline - - def skiptestsuite(name, reason): """Indicate that a testsuite was skipped. @@ -178,10 +165,10 @@ def planpythontestsuite(env, module, name=None, extra_path=[]): "%s/lib/testtools" % srcdir(), "%s/lib/extras" % srcdir(), "%s/lib/mimeparse" % srcdir()]) - args = [python, "-m", "subunit.run", "$LISTOPT", module] + args = [python, "-m", "subunit.run", "$LISTOPT", "$LOADLIST", module] if pypath: args.insert(0, "PYTHONPATH=%s" % ":".join(["$PYTHONPATH"] + pypath)) - plantestsuite_idlist(name, env, args) + plantestsuite_loadlist(name, env, args) def get_env_torture_options(): |