#!/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 \ "${AUTOTEST_PATH}/Tesselation/TriangleMatcher/trianglematcher" \ ${1+"$@"} else "${AUTOTEST_PATH}/Tesselation/TriangleMatcher/trianglematcher" \ ${1+"$@"} fi status=$? exit $status