Fix: tests: skip tests on static build
[lttng-tools.git] / tests / regression / ust / ust-dl / test_ust-dl
index 9e80bb39cd38a64083df926fc0812d5e3bdcb820..1f2934db198be85c6d546708ba3774c63ce58e20 100755 (executable)
@@ -20,6 +20,11 @@ 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
+
 start_lttng_sessiond_notap
 
 python3 ${CURDIR}/test_ust-dl.py
This page took 0.023207 seconds and 4 git commands to generate.