diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2014-11-01 15:13:18 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2015-03-24 04:51:14 +0100 |
commit | ebcba7ad56c4008886dc9d12bebdb4bc06081802 (patch) | |
tree | 8f79dcaa7e97160a2eced7b9de8594260745e2d8 /source4/scripting | |
parent | d8aafcd562b8014083ef5adcdc010b466cfd4b58 (diff) | |
download | samba-ebcba7ad56c4008886dc9d12bebdb4bc06081802.tar.gz |
selftest: Add separate command line for listing tests, allowing us of subunit-filter (which doesn't support subunit v2).
Change-Id: Icb877214a422c63fd38ef92425c7b4fe7ee19ad5
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 0f408599f83f5d8e68f0fb0f765143aa6620651e)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11137
Diffstat (limited to 'source4/scripting')
-rwxr-xr-x | source4/scripting/bin/subunitrun | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/bin/subunitrun b/source4/scripting/bin/subunitrun index 99d53196eea..8d43f259a88 100755 --- a/source4/scripting/bin/subunitrun +++ b/source4/scripting/bin/subunitrun @@ -81,5 +81,7 @@ opts, args = parser.parse_args() if not getattr(opts, "listtests", False): lp = sambaopts.get_loadparm() samba.tests.cmdline_credentials = credopts.get_credentials(lp) +if getattr(opts, 'load_list', None): + args.insert(0, "--load-list=%s" % opts.load_list) TestProgram(module=None, args=args, opts=subunitopts) |