mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-28 20:44:42 +08:00
do not set $path
Use --leak-check=full, not --quiet. Emit "--" after $vg.
This commit is contained in:
parent
1289d06809
commit
5ad9cd982c
@ -16,13 +16,13 @@ coreutils=$(echo 'spy:;@echo $(all_programs)' | (cd src; make -f Makefile -f - s
|
||||
mkdir -p src/vg
|
||||
pwd=`pwd`
|
||||
srcdir=$pwd/src
|
||||
path='export PATH='$srcdir':${PATH#*:}'
|
||||
pre='#!/bin/sh\n'"$path"'\n'
|
||||
_path='export PATH='$srcdir':${PATH#*:}'
|
||||
pre='#!/bin/sh\n'"$_path"'\n'
|
||||
n=15
|
||||
vg='exec /usr/bin/valgrind --suppressions=/tmp/cu-vg --log-fd=3 --leak-check=yes --track-fds=yes --quiet --num-callers='$n
|
||||
vg='exec /usr/bin/valgrind --suppressions=/tmp/cu-vg --log-fd=3 --leak-check=yes --track-fds=yes --leak-check=full --num-callers='$n
|
||||
cat <<EOF > src/vg/gen
|
||||
for i in $coreutils; do
|
||||
printf "$pre$vg \$i"' "\$@"\n' > \$i
|
||||
printf "$pre$vg -- \$i"' "\$@"\n' > \$i
|
||||
chmod a+x \$i
|
||||
done
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user