From 4fb98b6856fd0174d0f41f390e28027da636c307 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 10 Apr 2010 21:24:33 +0200 Subject: torture: Simplify torture suite running, call restricted test suite runner. --- lib/torture/torture.c | 7 +++++++ lib/torture/torture.h | 5 +++++ 2 files changed, 12 insertions(+) (limited to 'lib/torture') 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); -- cgit