diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-04-10 21:24:33 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-04-10 22:38:32 +0200 |
commit | 4fb98b6856fd0174d0f41f390e28027da636c307 (patch) | |
tree | f8c575416004dce559299c00cc33e1324deffef3 /lib/torture | |
parent | 6b442f43bc54555c60760eced131c2d50bf72a95 (diff) | |
download | samba-4fb98b6856fd0174d0f41f390e28027da636c307.tar.gz samba-4fb98b6856fd0174d0f41f390e28027da636c307.tar.bz2 samba-4fb98b6856fd0174d0f41f390e28027da636c307.zip |
torture: Simplify torture suite running, call restricted test suite runner.
Diffstat (limited to 'lib/torture')
-rw-r--r-- | lib/torture/torture.c | 7 | ||||
-rw-r--r-- | lib/torture/torture.h | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/lib/torture/torture.c b/lib/torture/torture.c index 9adf6816b8..dcb28eefb0 100644 --- a/lib/torture/torture.c +++ b/lib/torture/torture.c @@ -304,6 +304,13 @@ bool torture_run_suite(struct torture_context *context, return ret; } +bool torture_run_suite_restricted(struct torture_context *context, + struct torture_suite *suite, char **restricted) +{ + /* FIXME */ + return false; +} + void torture_ui_test_start(struct torture_context *context, struct torture_tcase *tcase, struct torture_test *test) diff --git a/lib/torture/torture.h b/lib/torture/torture.h index 6eb2c1593d..931937c118 100644 --- a/lib/torture/torture.h +++ b/lib/torture/torture.h @@ -218,6 +218,11 @@ bool torture_suite_add_suite(struct torture_suite *suite, bool torture_run_suite(struct torture_context *context, struct torture_suite *suite); +/* Run the specified testsuite recursively, but only the specified + * tests */ +bool torture_run_suite_restricted(struct torture_context *context, + struct torture_suite *suite, char **restricted); + /* Run the specified testcase */ bool torture_run_tcase(struct torture_context *context, struct torture_tcase *tcase); |