Ensure that PPROF_PATH is set for debugallocation_test

Which fixes issue #728.
This commit is contained in:
Aliaksey Kandratsenka 2015-10-10 15:58:11 -07:00
parent a9059b7c30
commit 347a830689
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@
# Author: Craig Silverstein
BINDIR="${BINDIR:-.}"
# We expect PPROF_PATH to be set in the environment.
# If not, we set it to some reasonable value
export PPROF_PATH="${PPROF_PATH:-$BINDIR/src/pprof}"
if [ "x$1" = "x-h" -o "x$1" = "x--help" ]; then
echo "USAGE: $0 [unittest dir]"