Fix UST tests if lttng-ust is not available
[lttng-tools.git] / tests / lttng / run-ust-global-tests.sh
index 135c8a2b4311f88c35f09e428ab1557a16eaa86c..a99ff43b307b3be917f132d81eae62f571ebea82 100755 (executable)
@@ -13,6 +13,11 @@ function start_tests ()
 {
     for bin in ${tests[@]};
     do
+               if [ ! -e $bin ]; then
+                       echo -e "$bin not found, passing"
+                       continue
+               fi
+
         ./$bin $tmpdir
         # Test must return 0 to pass.
         if [ $? -ne 0 ]; then
This page took 0.023003 seconds and 4 git commands to generate.