X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fvalgrind_ust-consumerd.sh;h=d89a1f2cfd5c7d59d20a6e1502174693e30dd860;hb=009ec7e5d85b858452207fcb9bb7647c0eea99a2;hp=a0d9e443de3030716b48e9217b18398544c5b4fc;hpb=772e23bfba7c9f0628ac7e930b1a40e616649caf;p=ust.git diff --git a/tests/valgrind_ust-consumerd.sh b/tests/valgrind_ust-consumerd.sh index a0d9e44..d89a1f2 100755 --- a/tests/valgrind_ust-consumerd.sh +++ b/tests/valgrind_ust-consumerd.sh @@ -17,6 +17,11 @@ # You should have received a copy of the GNU General Public License # along with LTTng-UST. If not, see . +if [ -n "$(which valgrind)" ]; then + echo "$0: Valgrind not found on the system." >/dev/stderr + exit 1; +fi + TESTDIR=$(dirname $0) source $TESTDIR/test_functions.sh