summaryrefslogtreecommitdiff
path: root/selftest/selftesthelpers.py
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-12-29 15:57:03 +0100
committerStefan Metzmacher <metze@samba.org>2017-01-10 13:54:17 +0100
commita5db045f98233ff6fda212000e23343a4ed0ab89 (patch)
treefeac284a341d1037e91b58e7b1ec41780287a809 /selftest/selftesthelpers.py
parent3a870baee8d9dbe5359f04a108814afc27e57d46 (diff)
downloadsamba-a5db045f98233ff6fda212000e23343a4ed0ab89.tar.gz
selftest/selftesthelpers.py: let plantestsuite() use the env name in the test name
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'selftest/selftesthelpers.py')
-rw-r--r--selftest/selftesthelpers.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/selftest/selftesthelpers.py b/selftest/selftesthelpers.py
index 1a1e080b12b..b0ece36d0f5 100644
--- a/selftest/selftesthelpers.py
+++ b/selftest/selftesthelpers.py
@@ -67,7 +67,11 @@ def plantestsuite(name, env, cmdline):
:param cmdline: Command line to run
"""
print "-- TEST --"
- print name
+ if env == "none":
+ fullname = name
+ else:
+ fullname = "%s(%s)" % (name, env)
+ print fullname
print env
if isinstance(cmdline, list):
cmdline = " ".join(cmdline)