Commit | Line | Data |
---|---|---|
04034d15 | 1 | #!/bin/bash |
c70c42cc AB |
2 | # |
3 | # Copyright (C) - 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com> | |
4 | # | |
5 | # This program is free software; you can redistribute it and/or modify it | |
6 | # under the terms of the GNU General Public License, version 2 only, as | |
7 | # published by the Free Software Foundation. | |
8 | # | |
9 | # This program is distributed in the hope that it will be useful, but WITHOUT | |
10 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
12 | # more details. | |
13 | # | |
14 | # You should have received a copy of the GNU General Public License along with | |
15 | # this program; if not, write to the Free Software Foundation, Inc., 51 | |
16 | # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
17 | ||
18 | CURDIR=$(dirname $0) | |
19 | TESTDIR=${CURDIR}/../../.. | |
20 | ||
21 | source $TESTDIR/utils/utils.sh | |
22 | ||
cdbfb1b9 | 23 | if [ ! -x "$CURDIR/.libs/libfoo.so" ]; then |
f37e092d MD |
24 | diag "No shared object generated. Skipping all tests." |
25 | exit 0 | |
cdbfb1b9 MD |
26 | fi |
27 | ||
bc1d8ca0 PP |
28 | export LTTNG_TOOLS_HAVE_DLMOPEN=@HAVE_DLMOPEN@ |
29 | ||
c70c42cc AB |
30 | start_lttng_sessiond_notap |
31 | ||
32 | python3 ${CURDIR}/test_ust-dl.py | |
33 | ||
34 | stop_lttng_sessiond_notap |