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/torture.h | |
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/torture.h')
-rw-r--r-- | lib/torture/torture.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |