If BIN_DIR is ".", set WIRESHARK_RUN_FROM_BUILD_DIRECTORY so that we

test plugins.

svn path=/trunk/; revision=33085
This commit is contained in:
Gerald Combs 2010-06-04 16:59:49 +00:00
parent 397f576de2
commit e5def72fe7
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@ TSHARK="$BIN_DIR/tshark"
EDITCAP="$BIN_DIR/editcap"
CAPINFOS="$BIN_DIR/capinfos"
if [ "$BIN_DIR" = "." ]; then
export WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1
fi
# set some limits to the child processes, e.g. stop it if it's running longer then MAX_CPU_TIME seconds
# (ulimit is not supported well on cygwin and probably other platforms, e.g. cygwin shows some warnings)
ulimit -S -t $MAX_CPU_TIME -v $MAX_VMEM