X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fust-dl%2Ftest_ust-dl.in;fp=tests%2Fregression%2Fust%2Fust-dl%2Ftest_ust-dl.in;h=61d00d21be71014eb018a80216e4afdb59ce51d0;hb=bc1d8ca01415710d40224de312c7ecf6f4223301;hp=0000000000000000000000000000000000000000;hpb=345ed219918f4e6fe88b57a30ab22e1a590a6bf0;p=lttng-tools.git diff --git a/tests/regression/ust/ust-dl/test_ust-dl.in b/tests/regression/ust/ust-dl/test_ust-dl.in new file mode 100644 index 000000000..61d00d21b --- /dev/null +++ b/tests/regression/ust/ust-dl/test_ust-dl.in @@ -0,0 +1,34 @@ +#!/bin/bash +# +# Copyright (C) - 2013 Jérémie Galarneau +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License, version 2 only, as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +CURDIR=$(dirname $0) +TESTDIR=${CURDIR}/../../.. + +source $TESTDIR/utils/utils.sh + +if [ ! -x "$CURDIR/.libs/libfoo.so" ]; then + diag "No shared object generated. Skipping all tests." + exit 0 +fi + +export LTTNG_TOOLS_HAVE_DLMOPEN=@HAVE_DLMOPEN@ + +start_lttng_sessiond_notap + +python3 ${CURDIR}/test_ust-dl.py + +stop_lttng_sessiond_notap