From b59ba79b959955a43d6749fe9670229fbb2a679f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 8 Apr 2010 15:24:33 +0200 Subject: s4-waf: Support --load-list option. --- source4/selftest/wscript | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source4/selftest') diff --git a/source4/selftest/wscript b/source4/selftest/wscript index a36b93561e..620f223afd 100644 --- a/source4/selftest/wscript +++ b/source4/selftest/wscript @@ -15,6 +15,9 @@ def set_options(opt): gr.add_option('--enable-selftest', help=("enable options necessary for selftest"), action="store_true", dest='enable_selftest', default=False) + gr.add_option('--load-list', + help=("Load a test id list from a text file"), + action="store", dest='LOAD_LIST', default=None) gr.add_option('--with-selftest-prefix', help=("specify location of selftest directory"), action="store", dest='SELFTEST_PREFIX', default='./st') @@ -63,7 +66,8 @@ def cmd_testonly(opt): env.OPTIONS += ' --exclude=./selftest/slow' if Options.options.QUICKTEST: env.OPTIONS += ' --quick --include=./selftest/quick' - + if Options.options.LOAD_LIST: + env.OPTIONS += ' --load-list=%s' % Options.options.LOAD_LIST if Options.options.TESTENV: env.OPTIONS += ' --testenv' -- cgit