# You should have received a copy of the GNU General Public License
# along with LTTng-UST. If not, see <http://www.gnu.org/licenses/>.
+if ! which valgrind > /dev/null; then
+ echo "$0: Valgrind not found on the system." >/dev/stderr
+ exit 1;
+fi
+
TESTDIR=$(dirname $0)
source $TESTDIR/test_functions.sh