aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-08 14:06:38 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-08 14:06:38 +0000
commit250ee8cdd43ffa4ba9ecab7548b18c4fc91f849d (patch)
treeaa16fe0bd3fe6e5c3c54a3bfb3efd04a033bdcc4 /test
parent0ae0293b4fde3c450967fe083bdf7a87b38e27d3 (diff)
downloadChibiOS-250ee8cdd43ffa4ba9ecab7548b18c4fc91f849d.tar.gz
ChibiOS-250ee8cdd43ffa4ba9ecab7548b18c4fc91f849d.tar.bz2
ChibiOS-250ee8cdd43ffa4ba9ecab7548b18c4fc91f849d.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@428 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
-rw-r--r--test/testpools.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/testpools.c b/test/testpools.c
index a86eecedd..83614fcd5 100644
--- a/test/testpools.c
+++ b/test/testpools.c
@@ -32,7 +32,7 @@ static char *pools1_gettest(void) {
static void pools1_setup(void) {
- chPoolInit(&mp1, UserStackSize(THREADS_STACK_SIZE));
+ chPoolInit(&mp1, UserStackSize(THREADS_STACK_SIZE), FALSE);
}
static void pools1_teardown(void) {
@@ -47,10 +47,10 @@ static void pools1_execute(void) {
/* Empting the pool again. */
for (i = 0; i < 5; i++)
- test_assert(chPoolAlloc(&mp1, FALSE) != NULL, "pool list empty");
+ test_assert(chPoolAlloc(&mp1) != NULL, "pool list empty");
/* Now must be empty. */
- test_assert(chPoolAlloc(&mp1, FALSE) == NULL, "pool list not empty");
+ test_assert(chPoolAlloc(&mp1) == NULL, "pool list not empty");
}
const struct testcase testpools1 = {