#!/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 \ --time-stamp=yes \ --error-exitcode=255 \ --leak-check=full \ --leak-resolution=high \ --num-callers=20 \ --track-origins=yes \ --show-reachable=yes \ "${topdir}/src/molecuilder" \ ${1+"$@"} else "${topdir}/src/molecuilder" \ ${1+"$@"} fi status=$? exit $status