tests: re-add all disabled tests and all disabled configurations

This commit is contained in:
Felipe Neves
2020-09-24 17:25:52 -03:00
committed by Angus Gratton
parent 206540909e
commit 3057b76a7e
22 changed files with 40 additions and 225 deletions

View File

@@ -236,10 +236,10 @@ void *multi_heap_realloc_impl(multi_heap_handle_t heap, void *p, size_t size)
}
multi_heap_internal_lock(heap);
heap->free_bytes += tlsf_block_size(p);
size_t previous_block_size = tlsf_block_size(p);
void *result = tlsf_realloc(heap->heap_data, p, size);
if(result) {
heap->free_bytes += previous_block_size;
heap->free_bytes -= tlsf_block_size(result);
if (heap->free_bytes < heap->minimum_free_bytes) {
heap->minimum_free_bytes = heap->free_bytes;