From f6e3cd7f03a15595a2fa65c22a56c60d7d3f8bff Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 26 Oct 2014 20:17:20 -0700 Subject: selftest: Drop support for TESTSUITE-IDLIST, and remove its last user. Change-Id: Ic616676bb770fa4769195d73c4309915646caae0 Signed-Off-By: Jelmer Vernooij Reviewed-by: Andrew Bartlett --- selftest/selftesthelpers.py | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'selftest/selftesthelpers.py') 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(): -- cgit v1.2.1