Add unit tests for URIs
[lttng-tools.git] / tests / tools / streaming / runall
diff --git a/tests/tools/streaming/runall b/tests/tools/streaming/runall
new file mode 100755 (executable)
index 0000000..dbf5228
--- /dev/null
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+DIR=$(dirname $0)
+
+tests=( $DIR/unit_tests $DIR/run-kernel $DIR/run-ust )
+exit_code=0
+
+function start_tests ()
+{
+    for bin in ${tests[@]};
+    do
+               if [ ! -e $bin ]; then
+                       echo -e "$bin not found, passing"
+                       continue
+               fi
+
+        ./$bin
+        # Test must return 0 to pass.
+        if [ $? -ne 0 ]; then
+            exit_code=1
+            break
+        fi
+    done
+}
+
+start_tests
+
+exit $exit_code
This page took 0.023443 seconds and 4 git commands to generate.