c5446c9902a45c152af2cbbaab9d6c29b95c41b6
[lttng-tools.git] / tests / lttng / runall.sh
1 #!/bin/bash
2
3 tests=( lttng/run-kernel-tests.sh lttng/run-ust-global-tests.sh )
4 exit_code=0
5
6 function start_tests ()
7 {
8 for bin in ${tests[@]};
9 do
10 ./$bin
11 # Test must return 0 to pass.
12 if [ $? -ne 0 ]; then
13 exit_code=1
14 break
15 fi
16 done
17 }
18
19 start_tests
20
21 exit $exit_code
This page took 0.036828 seconds and 3 git commands to generate.