diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-04-25 11:12:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-04-25 11:12:10 +0000 |
commit | a2a88226488db68ca8435a72ed608bf5ec9df464 (patch) | |
tree | 1232bb7af969baa856631cc4d3e9643cdb55f667 /test/testpools.c | |
parent | c031b80726d1472098bb6e352eba561e3ab2e766 (diff) | |
download | ChibiOS-a2a88226488db68ca8435a72ed608bf5ec9df464.tar.gz ChibiOS-a2a88226488db68ca8435a72ed608bf5ec9df464.tar.bz2 ChibiOS-a2a88226488db68ca8435a72ed608bf5ec9df464.zip |
Changes to the test suite in order to save RAM on AVR targets.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@917 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testpools.c')
-rw-r--r-- | test/testpools.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testpools.c b/test/testpools.c index 9479926d8..abf63d700 100644 --- a/test/testpools.c +++ b/test/testpools.c @@ -44,10 +44,10 @@ static void pools1_execute(void) { /* Empting the pool again. */
for (i = 0; i < MAX_THREADS; i++)
- test_assert(chPoolAlloc(&mp1) != NULL, "#1"); /* Pool list empty.*/
+ test_assert(1, chPoolAlloc(&mp1) != NULL, "list empty");
/* Now must be empty. */
- test_assert(chPoolAlloc(&mp1) == NULL, "#2"); /* Pool list not empty.*/
+ test_assert(2, chPoolAlloc(&mp1) == NULL, "list not empty");
}
const struct testcase testpools1 = {
|