view run-test.sh @ 17790:73eb8be089a5

fts-lucene: Include the mailbox name also in the rebuilding warning.
author Timo Sirainen <tss@iki.fi>
date Thu, 11 Sep 2014 16:12:38 +0300
parents 802187be0f77
children
line wrap: on
line source

#!/bin/sh

trap "rm -f test.out.$$" 0 1 2 3 15
supp_path="`dirname $0`/run-test-valgrind.supp"
if [ -r "$supp_path" ]; then
  valgrind -q --suppressions="$supp_path" --log-file=test.out.$$ $*
else
  valgrind -q --log-file=test.out.$$ $*
fi
ret=$?
if [ -s test.out.$$ ]; then
  cat test.out.$$
  exit 1
fi
exit $ret