#!/bin/sh # # wrapper for testing molecuilder . ../../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}/molecuilder" \ ${1+"$@"} else "${AUTOTEST_PATH}/molecuilder" \ ${1+"$@"} fi status=$? exit $status