summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/selftest/wscript6
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'