Show how to valgrind test a single test suite
authorTom Henderson <tomh@tomh.org>
Mon, 28 Dec 2009 10:34:03 -0800
changeset 5882 00057b346f87
parent 5881 edfb6efba4cd
child 5883 c55a30dfe65e
Show how to valgrind test a single test suite
doc/testing/testing-framework.texi
--- a/doc/testing/testing-framework.texi	Mon Dec 28 18:19:13 2009 +0000
+++ b/doc/testing/testing-framework.texi	Mon Dec 28 10:34:03 2009 -0800
@@ -707,3 +707,14 @@
 @end verbatim
 @end smallformat
 
+Here is another example of how to use valgrind to debug a memory problem
+such as:
+@verbatim
+VALGR: TestSuite devices-mesh-dot11s-regression
+@end verbatim
+
+@smallformat
+@verbatim
+./waf --command-template="valgrind %s --basedir=`pwd` --suite=devices-mesh-dot11s-regression" --run test-runner
+@end verbatim
+@end smallformat