mbed-os/features/storage/FEATURE_STORAGE/TESTS/cfstore
Russ Butler 87e1b379ea CFSTORE - Fix test failures due to fragmentation
In the config store create test in test case #5 the amount of available
memory is determined by fully allocating the heap. This is done
multiple times to determine if there is a memory leak. This causes
problems when even slight fragmentation occurs in the heap, since
the size that can be allocated is decreased slightly, which the test
flags as a memory leak.

This patch makes memory leak detection more robust by using metrics
provided by mbed_stats_heap_get. These metrics are an exact
measurement of memory allocated is not changed by fragmentation.
This allows the memory leak test to report correct values regardless of
fragmentation.
2016-10-19 17:24:11 -05:00
..
add_del This commit includes the following CFSTORE/Flash-Journal/Storage updates and fixes: 2016-09-13 18:16:56 +01:00
close This commit contains CFSTORE fixes for the following related issues: 2016-09-05 12:45:43 +01:00
create CFSTORE - Fix test failures due to fragmentation 2016-10-19 17:24:11 -05:00
dump Adding mbed-os/features/storage to mbed/features/storage/FEATURE_STORAGE (before deleting mbed-os/features/storage). 2016-07-26 23:07:24 -05:00
example1 This commit includes the following CFSTORE/Flash-Journal/Storage updates and fixes: 2016-09-13 18:16:56 +01:00
example2 Adding mbed-os/features/storage to mbed/features/storage/FEATURE_STORAGE (before deleting mbed-os/features/storage). 2016-07-26 23:07:24 -05:00
example3 This commit includes the following CFSTORE/Flash-Journal/Storage updates and fixes: 2016-09-13 18:16:56 +01:00
example4 This commit includes the following CFSTORE/Flash-Journal/Storage updates and fixes: 2016-09-13 18:16:56 +01:00
example5 This commit includes the following CFSTORE/Flash-Journal/Storage updates and fixes: 2016-09-13 18:16:56 +01:00
find This commit contains CFSTORE fixes for the following related issues: 2016-09-05 12:45:43 +01:00
find2 Adding mbed-os/features/storage to mbed/features/storage/FEATURE_STORAGE (before deleting mbed-os/features/storage). 2016-07-26 23:07:24 -05:00
flash This commit includes the following CFSTORE/Flash-Journal/Storage updates and fixes: 2016-09-13 18:16:56 +01:00
flash_set Adding mbed-os/features/storage to mbed/features/storage/FEATURE_STORAGE (before deleting mbed-os/features/storage). 2016-07-26 23:07:24 -05:00
flush This commit contains CFSTORE fixes for the following related issues: 2016-09-05 12:45:43 +01:00
flush2 Adding mbed-os/features/storage to mbed/features/storage/FEATURE_STORAGE (before deleting mbed-os/features/storage). 2016-07-26 23:07:24 -05:00
flush3 This commit includes the following CFSTORE/Flash-Journal/Storage updates and fixes: 2016-09-13 18:16:56 +01:00
init This commit includes the following CFSTORE/Flash-Journal/Storage updates and fixes: 2016-09-13 18:16:56 +01:00
misc This commit includes the following CFSTORE/Flash-Journal/Storage updates and fixes: 2016-09-13 18:16:56 +01:00
open Adding mbed-os/features/storage to mbed/features/storage/FEATURE_STORAGE (before deleting mbed-os/features/storage). 2016-07-26 23:07:24 -05:00
read Adding mbed-os/features/storage to mbed/features/storage/FEATURE_STORAGE (before deleting mbed-os/features/storage). 2016-07-26 23:07:24 -05:00
write Adding mbed-os/features/storage to mbed/features/storage/FEATURE_STORAGE (before deleting mbed-os/features/storage). 2016-07-26 23:07:24 -05:00