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