git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6e3cd7
)
Re-use add_prefix function.
author
Jelmer Vernooij
<jelmer@samba.org>
Sat, 1 Nov 2014 21:40:30 +0000
(14:40 -0700)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 30 Nov 2014 13:22:05 +0000
(14:22 +0100)
Change-Id: I6e91bc9fc6714c147427e920ca0e3e22cb9a076b
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/selftesthelpers.py
patch
|
blob
|
history
diff --git
a/selftest/selftesthelpers.py
b/selftest/selftesthelpers.py
index 984a5cf41b3aee761f505151c430c059bae32173..c66d92d4b3cab7f4c5a796fa6e85f553c47e1c0a 100644
(file)
--- a/
selftest/selftesthelpers.py
+++ b/
selftest/selftesthelpers.py
@@
-102,13
+102,7
@@
def plantestsuite(name, env, cmdline):
print env
if isinstance(cmdline, list):
cmdline = " ".join(cmdline)
- filter_subunit_args = ["--fail-on-empty"]
- if "$LISTOPT" in cmdline:
- filter_subunit_args.append("$LISTOPT")
- print "%s 2>&1 | %s/selftest/filter-subunit %s --prefix=\"%s.\" --suffix=\"(%s)\"" % (cmdline,
- srcdir(),
- " ".join(filter_subunit_args),
- name, env)
+ print "%s 2>&1 | " + add_prefix(name, env, "$LISTOPT" in cmdline)
def add_prefix(prefix, env, support_list=False):