Greatly improve wmem tests, including random fuzz-style testing. Improve
authorEvan Huus <eapache@gmail.com>
Wed, 27 Mar 2013 00:27:45 +0000 (00:27 -0000)
committerEvan Huus <eapache@gmail.com>
Wed, 27 Mar 2013 00:27:45 +0000 (00:27 -0000)
commit4252a18c90ca4e4e054d42db2d4af6d95cc3d59b
treefb47ba3e0ca9b94d7fb56126ae1d163846af832c
parent0823a10579e19f78d67a020d37dbde3aa0429ae6
Greatly improve wmem tests, including random fuzz-style testing. Improve
assertions in the block allocator, and fix one rare potential underflow caught
by the improved tests.

The tests now take ~200MB and 5-10 seconds to run. Hopefully this is small
enough for the build-bots to handle, if not then we can reduce the max
allocation size or max iterations to suit.

svn path=/trunk/; revision=48574
epan/wmem/wmem_allocator_block.c
epan/wmem/wmem_test.c