Improve tests and change tests/ directory layout
[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 exit_code=0
7
8 function start_tests ()
9 {
10 for bin in ${tests[@]};
11 do
12 ./$bin
13 # Test must return 0 to pass.
14 if [ $? -ne 0 ]; then
15 exit_code=1
16 break
17 fi
18 done
19 }
20
21 start_tests
22
23 exit $exit_code
This page took 0.042257 seconds and 5 git commands to generate.