source:
vendor/current/selftest/valgrind_run
| Last change on this file was 988, checked in by , 9 years ago | |
|---|---|
| File size: 246 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | ENV="$1" |
| 4 | |
| 5 | shift 1 |
| 6 | |
| 7 | CMD="$ENV valgrind --num-callers=30 |
| 8 | --trace-children=yes --log-file=valgrind.%p.log |
| 9 | ${VALGRIND_OPT- --time-stamp=yes --track-fds=yes --read-var-info=yes --track-origins=yes --leak-check=yes} |
| 10 | $@" |
| 11 | |
| 12 | echo $CMD |
| 13 | eval $CMD |
Note:
See TracBrowser
for help on using the repository browser.
