Add low-throughput test
[lttng-tools.git] / tests / tools / runall.sh
CommitLineData
e3fa263d
DG
1#!/bin/bash
2
355f483d
DG
3DIR=$(dirname $0)
4
5tests=( $DIR/test_kernel_data_trace $DIR/test_sessions $DIR/test_ust_data_trace )
e3fa263d
DG
6exit_code=0
7
8function start_tests ()
9{
10 for bin in ${tests[@]};
11 do
8e0dbb65 12 ./$bin
e3fa263d
DG
13 # Test must return 0 to pass.
14 if [ $? -ne 0 ]; then
15 exit_code=1
16 break
17 fi
18 done
19}
20
e3fa263d
DG
21start_tests
22
e3fa263d 23exit $exit_code
This page took 0.03477 seconds and 4 git commands to generate.