HACKING.asciidoc: add an example of testing am7xxx-play with valgrind
authorAntonio Ospite <ospite@studenti.unina.it>
Sat, 27 Jul 2013 21:44:45 +0000 (23:44 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Sat, 27 Jul 2013 22:14:47 +0000 (00:14 +0200)
This will make testing easier as the line can be copied and pasted.

HACKING.asciidoc

index a6595fe..a59c4af 100644 (file)
@@ -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
 
   $ 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