diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-27 10:01:55 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-27 10:01:55 +0000 |
commit | 6e83b30cc7791b6ee0228ead17f075282a106396 (patch) | |
tree | 6c0bdff49ac86f0670a970ddc7636cd8425e0ba1 /README-valgrind | |
parent | 4b64fb9a6ae45ad7e65c9aa33ee0d26d0ff687dc (diff) | |
download | coreutils-6e83b30cc7791b6ee0228ead17f075282a106396.tar.xz |
.
Diffstat (limited to 'README-valgrind')
-rw-r--r-- | README-valgrind | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/README-valgrind b/README-valgrind index d3989a743..c3612922f 100644 --- a/README-valgrind +++ b/README-valgrind @@ -4,19 +4,19 @@ # Fix valgrind sources to know about syscall 252, for exit_group # Convert Makefile.am files: -# find tests -name Makefile.am \ -# | xargs grep -wl PATH|xargs perl -pi -e 's,src:\$\$PATH,src/vg:\$\$PATH,' +# find tests -name Makefile.am | xargs grep -wl PATH|xargs perl -pi -e \ +# 's,src(\$\(PATH_SEPARATOR\)\$\$PATH),src/vg$1,' # Create src/vg: coreutils=$(echo 'spy:;@echo $(all_programs)' | (cd src; make -f Makefile -f - spy | tr -s '\n ' ' ')) mkdir src/vg pwd=`pwd` -up=`dirname $pwd` -path='export PATH='$up':${PATH#*:}' +srcdir=$pwd/src +path='export PATH='$srcdir':${PATH#*:}' pre='#!/bin/sh\n'"$path"'\n' n=9 -vg='exec /p/bin/valgrind --quiet --num-callers='$n +vg='exec /usr/bin/valgrind --quiet --num-callers='$n cat <<EOF > src/vg/gen for i in $coreutils; do printf "$pre$vg \$i"' "\$@"\n' > \$i |