diff options
Diffstat (limited to 'test/testpools.c')
-rw-r--r-- | test/testpools.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/test/testpools.c b/test/testpools.c index 2165c39d1..fae7402c3 100644 --- a/test/testpools.c +++ b/test/testpools.c @@ -35,9 +35,6 @@ static void pools1_setup(void) { chPoolInit(&mp1, THD_WA_SIZE(THREADS_STACK_SIZE));
}
-static void pools1_teardown(void) {
-}
-
static void pools1_execute(void) {
int i;
@@ -56,8 +53,18 @@ static void pools1_execute(void) { const struct testcase testpools1 = {
pools1_gettest,
pools1_setup,
- pools1_teardown,
+ NULL,
pools1_execute
};
#endif /* CH_USE_MEMPOOLS */
+
+/*
+ * Test sequence for pools pattern.
+ */
+const struct testcase *patternpools[] = {
+#if CH_USE_MEMPOOLS
+ &testpools1,
+#endif
+ NULL
+};
|