summaryrefslogtreecommitdiff
path: root/lib/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-10 21:24:33 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-10 22:38:32 +0200
commit4fb98b6856fd0174d0f41f390e28027da636c307 (patch)
treef8c575416004dce559299c00cc33e1324deffef3 /lib/torture
parent6b442f43bc54555c60760eced131c2d50bf72a95 (diff)
downloadsamba-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.c7
-rw-r--r--lib/torture/torture.h5
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);