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