#!/bin/sh # # wrapper for testing with trianglematcher . ../../atlocal if test ! -z ${valgrind} then G_SLICE=always-malloc G_DEBUG=gc-friendly \ libtool --mode=execute \ ${valgrind} -v \ --log-file=valgrind.log \ --xml=yes \ --xml-file=valgrind.err \ --time-stamp=yes \ --error-exitcode=255 \ --leak-check=full \ --leak-resolution=high \ --num-callers=20 \ --track-origins=yes \ --show-reachable=yes \ "${topdir}/src/Tesselation/TriangleMatcher/trianglematcher" \ ${1+"$@"} else "${topdir}/src/Tesselation/TriangleMatcher/trianglematcher" \ ${1+"$@"} fi status=$? exit $status