summaryrefslogtreecommitdiff
path: root/docs/TestingGuide.html
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2008-11-25 15:57:52 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2008-11-25 15:57:52 +0000
commit21bfe0b448e73ad0b5676eb7ca29f6ff3f4f0ce5 (patch)
tree97f970846b761d87d2131686959b0241468c8d16 /docs/TestingGuide.html
parenta6af91ae124d0713cfabcea8c5f508091dd7a556 (diff)
add info about how to run the tests with valgrind
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/TestingGuide.html')
-rw-r--r--docs/TestingGuide.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/TestingGuide.html b/docs/TestingGuide.html
index 841974da3cd..582b9daecfa 100644
--- a/docs/TestingGuide.html
+++ b/docs/TestingGuide.html
@@ -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>
<!-- _______________________________________________________________________ -->