summaryrefslogtreecommitdiff
path: root/lib/torture
diff options
context:
space:
mode:
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);