aboutsummaryrefslogtreecommitdiffstats
path: root/doc/README.wmem
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-04-22 21:29:57 +0000
committerEvan Huus <eapache@gmail.com>2013-04-22 21:29:57 +0000
commit2a50c3180032430e6ea6b9f8c98b4d6f6d41fb34 (patch)
treee4a34926f831109f53e89aacd1511dac4f0f2447 /doc/README.wmem
parent63f51ce4e673145e93a8aae6dcd399f21f68ec3d (diff)
Add a section to the wmem README about testing.
svn path=/trunk/; revision=48990
Diffstat (limited to 'doc/README.wmem')
-rw-r--r--doc/README.wmem14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/README.wmem b/doc/README.wmem
index 420a6e872c..b90c5d960a 100644
--- a/doc/README.wmem
+++ b/doc/README.wmem
@@ -317,6 +317,20 @@ Note that regardless of the value of this variable, it will always be safe to
call allocator-specific helpers functions. They are required to be safe no-ops
if the allocator argument is of the wrong type.
+4.4 Testing
+
+There is a simple test suite for wmem that lives in the file wmem_test.c and
+should get automatically built into the binary 'wmem_test' when building
+Wireshark. It contains at least basic tests for all existing functionality.
+The suite is run automatically by the build-bots via the shell script
+test/test.sh which calls out to test/suite-unittests.sh.
+
+New features added to wmem (allocators, data structures, utility
+functions, etc.) must also have tests added to this suite.
+
+The test suite could potentially use a clean-up by someone more
+intimately familiar with Glib's testing framework, but it does the job.
+
5. TODO List
The following is a list of things that wmem provides but are incomplete