/[d-i]/trunk/build/run-valgrind
ViewVC logotype

Contents of /trunk/build/run-valgrind

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1867 - (show annotations) (download)
Wed Feb 5 10:12:40 2003 UTC (10 years, 3 months ago) by sjogren
File size: 578 byte(s)
add a script for running valgrind in the demo chroot
1 #!/bin/sh
2
3 # Simple script to run valgrind in the make demo chroot.
4 #
5 # Author: Martin Sjögren <sjogren@debian.org>
6 #
7 # Usage: Put 'valgrind' in one of the pkglists, create the demo root
8 # as usual, but change e.g. the Makefile or some program's postinst to
9 # run a program through run-valgrind. Remember to redirect the output
10 # to a smart place. For example,
11 # run-valgrind /usr/bin/main-menu 9> /tmp/VALGRIND.LOG
12
13 cd /etc/default
14 [ -e valgrind.dpkg-new ] && mv valgrind.dpkg-new valgrind
15 cd /
16 /usr/bin/valgrind -v --show-reachable=yes --leak-check=yes --logfile-fd=9 "$@"

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5