change log for rtems (2011-03-10)
rtems-vc at rtems.org
rtems-vc at rtems.org
Thu Mar 10 16:10:29 UTC 2011
*sh*:
2011-03-10 Sebastian Huber <sebastian.huber at embedded-brains.de>
* heapwalk/init.c: Improve coverage.
* heapwalk/heapwalk.scn: Update.
M 1.262 testsuites/libtests/ChangeLog
M 1.5 testsuites/libtests/heapwalk/heapwalk.scn
M 1.14 testsuites/libtests/heapwalk/init.c
diff -u rtems/testsuites/libtests/ChangeLog:1.261 rtems/testsuites/libtests/ChangeLog:1.262
--- rtems/testsuites/libtests/ChangeLog:1.261 Wed Mar 9 13:39:44 2011
+++ rtems/testsuites/libtests/ChangeLog Thu Mar 10 09:41:58 2011
@@ -1,3 +1,8 @@
+2011-03-10 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * heapwalk/init.c: Improve coverage.
+ * heapwalk/heapwalk.scn: Update.
+
2011-03-09 Joel Sherrill <joel.sherrill at oarcorp.com>
* devfs04/devfs04.scn, devfs04/init.c: Increase configuration so this
diff -u rtems/testsuites/libtests/heapwalk/heapwalk.scn:1.4 rtems/testsuites/libtests/heapwalk/heapwalk.scn:1.5
--- rtems/testsuites/libtests/heapwalk/heapwalk.scn:1.4 Wed Sep 9 11:30:14 2009
+++ rtems/testsuites/libtests/heapwalk/heapwalk.scn Thu Mar 10 09:41:58 2011
@@ -6,7 +6,7 @@
set minimal block size to a not page aligned value
set allocation area of the first block to be non page-aligned
clear the previous used flag of the first block
- set the previous block size of the first block to an invalid value
+ mark last block as free
set invalid next block for last block
testing the _Heap_Walk_check_free_list() function
no free blocks
@@ -30,8 +30,8 @@
test the output-function for the _Heap_Walk()
therefore use the (already tested) case with a page size of 0
PASS[0]: page size 0, min block size 16
- area begin 0x0202C4BC, area end 0x0202D4BC
- first block 0x0202C4C0, last block 0x0202D4B0
- first free 0x0202C4C0, last free 0x0202C4C0
+ area begin 0x0202D4BC, area end 0x0202E4BC
+ first block 0x0202D4C0, last block 0x0202E4B0
+ first free 0x0202D4C0, last free 0x0202D4C0
FAIL[0]: page size is zero
*** END OF HEAP WALK TEST ***
diff -u rtems/testsuites/libtests/heapwalk/init.c:1.13 rtems/testsuites/libtests/heapwalk/init.c:1.14
--- rtems/testsuites/libtests/heapwalk/init.c:1.13 Tue Feb 22 01:34:07 2011
+++ rtems/testsuites/libtests/heapwalk/init.c Thu Mar 10 09:41:58 2011
@@ -131,10 +131,15 @@
TestHeap.first_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;
test_call_heap_walk( false );
- puts( "\tset invalid next block for last block" );
+ puts( "\tmark last block as free" );
test_heap_init_custom();
TestHeap.last_block->size_and_flag = 0;
test_call_heap_walk( false );
+
+ puts( "\tset invalid next block for last block" );
+ test_heap_init_custom();
+ TestHeap.last_block->size_and_flag = HEAP_PREV_BLOCK_USED;
+ test_call_heap_walk( false );
}
static void test_check_free_list(void)
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110310/6ef12d79/attachment-0001.html>
More information about the vc
mailing list