Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
# You should have received a copy of the GNU General Public License
# along with LTTng-UST. If not, see <http://www.gnu.org/licenses/>.
# 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 [ -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
TESTDIR=$(dirname $0)
source $TESTDIR/test_functions.sh