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