Activate streaming tests in make check
[lttng-tools.git] / tests / tools / runall.sh
1 #!/bin/bash
2
3 DIR=$(dirname $0)
4
5 tests=( $DIR/test_kernel_data_trace $DIR/test_sessions $DIR/test_ust_data_trace \
6 $DIR/streaming/runall )
7
8 exit_code=0
9
10 function start_tests ()
11 {
12 for bin in ${tests[@]};
13 do
14 if [ ! -e $bin ]; then
15 echo -e "$bin not found, passing"
16 continue
17 fi
18
19 ./$bin
20 # Test must return 0 to pass.
21 if [ $? -ne 0 ]; then
22 exit_code=1
23 break
24 fi
25 done
26 }
27
28 start_tests
29
30 exit $exit_code
This page took 0.043324 seconds and 5 git commands to generate.