From: Antonio Ospite <ospite@studenti.unina.it>
Date: Sat, 27 Jul 2013 21:44:45 +0000 (+0200)
Subject: HACKING.asciidoc: add an example of testing am7xxx-play with valgrind
X-Git-Tag: v0.1.4~7
X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/c78aecad840a537d5a1359a6118ca6c5cbd76010?ds=sidebyside

HACKING.asciidoc: add an example of testing am7xxx-play with valgrind

This will make testing easier as the line can be copied and pasted.
---

diff --git a/HACKING.asciidoc b/HACKING.asciidoc
index a6595fe..a59c4af 100644
--- a/HACKING.asciidoc
+++ b/HACKING.asciidoc
@@ -81,3 +81,8 @@ dynamic analyzer by using a command like:
 
   $ valgrind --leak-check=full --show-reachable=yes --track-origins=yes \
     ./bin/picoproj -W 800 -H 480 -f my_image.jpg
+
+or, for am7xxx-play:
+
+  $ valgrind --leak-check=full --show-reachable=yes --track-origins=yes \
+    ./bin/am7xxx-play -f x11grab -i :0