#### ADD TESTS HERE ####
-test_suite=( test_sessions test_kernel_data_trace test_ust_data_trace
- lttng/runall.sh ust-nevents/run ust-nprocesses/run )
+tests=( kernel/runall.sh ust/runall.sh tools/runall.sh )
#### END TESTS HERE ####
source $TESTDIR/utils.sh
-start_sessiond
-if [ $? -ne 0 ]; then
- exit 1
-fi
-
-for bin in ${test_suite[@]};
+## lttng-tools unit tests ##
+# No session daemon needed
+for bin in ${tests[@]};
do
if [ ! -e $bin ]; then
echo -e "$bin not found, passing"
if [ $? -ne 0 ]; then
echo -e '\e[1;31mFAIL\e[0m'
echo ""
- stop_sessiond
exit 1
fi
done
-echo ""
-stop_sessiond
+# All passed
exit 0