add info about how to run the tests with valgrind
authorNuno Lopes <nunoplopes@sapo.pt>
Tue, 25 Nov 2008 15:57:52 +0000 (15:57 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Tue, 25 Nov 2008 15:57:52 +0000 (15:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60030 91177308-0d34-0410-b5e6-96231b3b80d8

docs/TestingGuide.html

index 841974da3cdfa715a78eb0a27c34d84a6c9e6703..582b9daecfa0224c5d1207fca32bdce4542368ba 100644 (file)
@@ -228,6 +228,15 @@ subdirectory.</b></p>
 </pre>
 </div>
 
+<p>To run the tests with Valgrind (Memcheck by default), just append
+<tt>VG=1</tt> to the commands above, e.g.:</p>
+
+<div class="doc_code">
+<pre>
+% gmake check VG=1
+</pre>
+</div>
+
 <!-- _______________________________________________________________________ -->
 <div class="doc_subsection"><a name="quicktestsuite">Test suite</a></div>
 <!-- _______________________________________________________________________ -->