Fix UST tests if lttng-ust is not available
[lttng-tools.git] / tests / runall.sh
index eadeeb912e6bc07df0fa18d990ed5c6a812ce094..08b3904838d1408e54a7c2474cc952be27349e9d 100755 (executable)
@@ -35,6 +35,11 @@ fi
 
 for bin in ${test_suite[@]};
 do
 
 for bin in ${test_suite[@]};
 do
+       if [ ! -e $bin ]; then
+               echo -e "$bin not found, passing"
+               continue
+       fi
+
        ./$bin
        # Test must return 0 to pass.
        if [ $? -ne 0 ]; then
        ./$bin
        # Test must return 0 to pass.
        if [ $? -ne 0 ]; then
This page took 0.031534 seconds and 4 git commands to generate.