From 24035a6b3ed5ffdb1e75ebd375c3f7c2129742ff Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 1 Nov 2014 21:08:49 -0700 Subject: Move option parsing to samba.tests.subunitrun. Change-Id: I2939c1b6ebb9739530efa9bc4667668cff7a7aeb Signed-off-by: Jelmer Vernooij Reviewed-by: Andrew Bartlett --- source4/scripting/bin/subunitrun | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/scripting/bin') diff --git a/source4/scripting/bin/subunitrun b/source4/scripting/bin/subunitrun index c85fc97fb2..48b507a7b4 100755 --- a/source4/scripting/bin/subunitrun +++ b/source4/scripting/bin/subunitrun @@ -39,7 +39,7 @@ sys.path.insert(0, "bin/python") import optparse import samba -from samba.tests.subunitrun import TestProgram +from samba.tests.subunitrun import TestProgram, SubunitOptions import samba.getopt as options import samba.tests @@ -71,8 +71,10 @@ parser = optparse.OptionParser(usage=usage, description=description) parser.format_description = format_description credopts = options.CredentialsOptions(parser) sambaopts = options.SambaOptions(parser) +subunitopts = SubunitOptions(parser) parser.add_option_group(credopts) parser.add_option_group(sambaopts) +parser.add_option_group(subunitopts) opts, args = parser.parse_args() -- cgit