torture: Simplify torture suite running, call restricted test suite runner.
[samba.git] / lib / torture / torture.h
index 6eb2c1593d2a0e3806a58db18adb8c379bfa27a9..931937c1182b7e27a2b4e92ca9a9679fdbc4607c 100644 (file)
@@ -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);