mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
s4-waf: Support --load-list option.
This commit is contained in:
parent
4f2d8d6ace
commit
b59ba79b95
@ -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'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user