Fixed bug #28679: mem_realloc calculates mem_stats wrong and added test case for it

This commit is contained in:
goldsimon
2010-01-18 17:45:41 +00:00
parent 149f21dc58
commit e0c5c4de88
5 changed files with 84 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
#include "udp/test_udp.h"
#include "tcp/test_tcp.h"
#include "tcp/test_tcp_oos.h"
#include "core/test_mem.h"
#include "lwip/init.h"
@@ -16,6 +17,7 @@ int main()
udp_suite,
tcp_suite,
tcp_oos_suite,
mem_suite,
};
size_t num = sizeof(suites)/sizeof(void*);
LWIP_ASSERT("No suites defined", num > 0);