3 # Run the tests in lenses/tests through valgrind and report which ones leak
6 TOPDIR=$(cd $(dirname $0)/.. && pwd)
7 [ -n "$top_builddir" ] || top_builddir=$TOPDIR
8 [ -n "$top_srcdir" ] || top_srcdir=$TOPDIR
11 AUGPARSE="libtool --mode=execute valgrind -q --leak-check=full ${top_builddir}/src/augparse"
12 LENS_DIR=${top_srcdir}/lenses
13 TESTS=$LENS_DIR/tests/test_*.aug
17 echo Run $(basename $t .aug)
19 ${AUGPARSE} --nostdinc -I $LENS_DIR $t