diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-04-08 15:24:33 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-04-08 23:20:35 +0200 |
commit | b59ba79b959955a43d6749fe9670229fbb2a679f (patch) | |
tree | 386686f94f29f6bd3d4290d7f8534954cc09a50e /source4 | |
parent | 4f2d8d6ace81c03fb0ff181ccfb0f3c2e02e2c45 (diff) | |
download | samba-b59ba79b959955a43d6749fe9670229fbb2a679f.tar.gz samba-b59ba79b959955a43d6749fe9670229fbb2a679f.tar.bz2 samba-b59ba79b959955a43d6749fe9670229fbb2a679f.zip |
s4-waf: Support --load-list option.
Diffstat (limited to 'source4')
-rw-r--r-- | source4/selftest/wscript | 6 |
1 files changed, 5 insertions, 1 deletions
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' |